✨ 个人中心:登录切换到自己的逻辑
This commit is contained in:
@@ -58,10 +58,10 @@ const _go = (
|
||||
}
|
||||
|
||||
// 页面登录拦截
|
||||
// if (nextRoute.meta?.auth && !$store('user').isLogin) {
|
||||
// showAuthModal();
|
||||
// return;
|
||||
// }
|
||||
if (nextRoute.meta?.auth && !$store('user').isLogin) {
|
||||
showAuthModal();
|
||||
return;
|
||||
}
|
||||
|
||||
url = page;
|
||||
if (!isEmpty(query)) {
|
||||
|
||||
Reference in New Issue
Block a user