feat(auth): 关闭信息完善页面
This commit is contained in:
parent
2624a7086e
commit
fcab2aefc1
|
|
@ -57,9 +57,9 @@ function Topbar() {
|
|||
router.prefetch('/login');
|
||||
} else {
|
||||
router.prefetch('/profile');
|
||||
if (user.cpUserInfo) {
|
||||
router.push('/login/fields?redirect=' + encodeURIComponent(redirectURL));
|
||||
}
|
||||
// if (user.cpUserInfo) {
|
||||
// router.push('/login/fields?redirect=' + encodeURIComponent(redirectURL));
|
||||
// }
|
||||
}
|
||||
}, [user]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue