fix: 路由免用户登录认证判断

This commit is contained in:
TsMask committed 2025-01-17 18:42:06 +08:00
1 parent 874720b68d
commit fb9db32da7
1 file changed
+3 -3
+3 -3
View File
@@ -185,9 +185,9 @@ router.beforeEach(async (to, from, next) => {
let token = getToken();
// 免用户登录认证
// if (!appStore.loginAuth) {
// token = '== Not Login Auth ==';
// }
if (!appStore.loginAuth) {
token = '== Not Login Auth ==';
}
// 没有token
if (!token) {