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(() => {
getsystemConfig(); //获取系统配置
setTimeout(()=>{
setTimeout(() => {
getdetails(); //获取活动详情
},500)
}, 1000);
}, []);
useEffect(() => {
@@ -180,6 +180,7 @@ const Home = () => {
// Taro.navigateBack({
// delta: 1,
// });
},
});
},
@@ -224,6 +225,10 @@ const Home = () => {
// Taro.navigateTo({
// url: `/pages/home/components/CheckIn/index?fileID=${tempFilePaths?.[0]}`,
// });
getsystemConfig(); //获取系统配置
setTimeout(() => {
getdetails(); //获取活动详情
}, 1000);
uploadTaro(tempFilePaths);
},
});