fix: 首页活动加载

This commit is contained in:
eric
2022-12-09 08:51:57 +08:00
parent 72bf15b0aa
commit 85d412068f
2 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -138,7 +138,10 @@ const Home = () => {
okFun: async (res: any) => { okFun: async (res: any) => {
console.log("systemConfig--", res); console.log("systemConfig--", res);
await setsystemConfig(res?.data ?? []); await setsystemConfig(res?.data ?? []);
await getdetails() setTimeout(()=>{
getdetails()
},500)
// await getdetails()
}, },
}; };
await getTable(objParams); await getTable(objParams);