feat: 打卡渲染的bug

This commit is contained in:
huxiaoshuang
2022-11-25 17:03:27 +08:00
parent 2651275abd
commit 3a3ff5f5cc
2 changed files with 8 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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);
}, },
}); });