mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-27 21:22:50 +08:00
头像重复加载优化
This commit is contained in:
parent
1996340699
commit
ccde01e6ff
@ -39,13 +39,6 @@ export const InitPage = (props: Props) => {
|
||||
setShowFooter(false);
|
||||
}
|
||||
}
|
||||
|
||||
return () => {
|
||||
// 组件卸载时,清除定时器
|
||||
setShowNoHeader(false);
|
||||
setShowHeader(true);
|
||||
setShowFooter(true);
|
||||
};
|
||||
}, [pathname, params]);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user