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

This commit is contained in:
TsMask
2025-01-17 18:42:06 +08:00
parent 874720b68d
commit fb9db32da7

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) {