个人中心:登录切换到自己的逻辑

This commit is contained in:
YunaiV
2023-12-28 22:59:14 +08:00
parent c3cc5d653d
commit f0e8ff1f87
9 changed files with 45 additions and 59 deletions
+4 -4
View File
@@ -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)) {