From fb9db32da7b2d5bf873d1672d9212c25326e8f59 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 17 Jan 2025 18:42:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B7=AF=E7=94=B1=E5=85=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=99=BB=E5=BD=95=E8=AE=A4=E8=AF=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 0768bb11..b16ea27c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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) {