头像重复加载优化

This commit is contained in:
禺狨 2023-06-13 11:22:58 +08:00
parent 1996340699
commit ccde01e6ff

View File

@ -39,13 +39,6 @@ export const InitPage = (props: Props) => {
setShowFooter(false);
}
}
return () => {
// 组件卸载时,清除定时器
setShowNoHeader(false);
setShowHeader(true);
setShowFooter(true);
};
}, [pathname, params]);
useEffect(() => {