From 97a25d3c7a28dd1e101f6caa41a966cc8155f7cd Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Tue, 16 Sep 2025 12:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E5=BE=84=E5=88=A4=E6=96=AD=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/index.ts b/router/index.ts index f43ee9d..7d50883 100644 --- a/router/index.ts +++ b/router/index.ts @@ -12,7 +12,7 @@ router.beforeEach((to, next) => { const { user } = useStore(); if ( - ignoreToken.includes(to.path) || + ignoreToken.some((e) => to.path.includes(e)) || to.path.startsWith("/pages/demo") || to.path.startsWith("/pages/template") ) {