diff --git a/src/pages/init/index.tsx b/src/pages/init/index.tsx index b98584c..45d4c50 100644 --- a/src/pages/init/index.tsx +++ b/src/pages/init/index.tsx @@ -39,13 +39,6 @@ export const InitPage = (props: Props) => { setShowFooter(false); } } - - return () => { - // 组件卸载时,清除定时器 - setShowNoHeader(false); - setShowHeader(true); - setShowFooter(true); - }; }, [pathname, params]); useEffect(() => {