feat(auth): 关闭信息完善页面

This commit is contained in:
liuyonghe0111 2025-12-19 16:05:12 +08:00
parent 2624a7086e
commit fcab2aefc1
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ function Topbar() {
router.prefetch('/login'); router.prefetch('/login');
} else { } else {
router.prefetch('/profile'); router.prefetch('/profile');
if (user.cpUserInfo) { // if (user.cpUserInfo) {
router.push('/login/fields?redirect=' + encodeURIComponent(redirectURL)); // router.push('/login/fields?redirect=' + encodeURIComponent(redirectURL));
} // }
} }
}, [user]); }, [user]);