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(() => {
|
||||
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);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user