feat: 打卡渲染的bug
This commit is contained in:
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -69,9 +69,9 @@ const Home = () => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getsystemConfig(); //获取系统配置
|
getsystemConfig(); //获取系统配置
|
||||||
setTimeout(()=>{
|
setTimeout(() => {
|
||||||
getdetails(); //获取活动详情
|
getdetails(); //获取活动详情
|
||||||
},500)
|
}, 1000);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
@@ -180,6 +180,7 @@ const Home = () => {
|
|||||||
// Taro.navigateBack({
|
// Taro.navigateBack({
|
||||||
// delta: 1,
|
// delta: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -224,6 +225,10 @@ const Home = () => {
|
|||||||
// Taro.navigateTo({
|
// Taro.navigateTo({
|
||||||
// url: `/pages/home/components/CheckIn/index?fileID=${tempFilePaths?.[0]}`,
|
// url: `/pages/home/components/CheckIn/index?fileID=${tempFilePaths?.[0]}`,
|
||||||
// });
|
// });
|
||||||
|
getsystemConfig(); //获取系统配置
|
||||||
|
setTimeout(() => {
|
||||||
|
getdetails(); //获取活动详情
|
||||||
|
}, 1000);
|
||||||
uploadTaro(tempFilePaths);
|
uploadTaro(tempFilePaths);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user