diff --git a/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx b/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx index 242ad144..7edd1f59 100644 --- a/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx +++ b/frontend/packages/common/src/components/aoplatform/WithRouteGuard.tsx @@ -13,9 +13,6 @@ const withRouteGuard = (WrappedComponent: ExoticComponent | JSXElementConst return function RouteGuard(props: JSX.IntrinsicAttributes) { const [isActivated, setIsActivated] = useState(false); const location = useLocation(); - useEffect(()=>{ - console.log('路由守卫') - },[]) // check canActivate const startLifecycle = async ()=>{ if(canActivate){