From d981cac3f3adce44c257b6ec6cce826e773c336f Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 22 十一月 2024 14:49:14 +0800 Subject: [PATCH] 分栏参数微调 --- src/permission.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/permission.js b/src/permission.js index 2a4f871..1afe9cd 100644 --- a/src/permission.js +++ b/src/permission.js @@ -21,6 +21,8 @@ if (to.path === '/login') { next({ path: '/' }) NProgress.done() + } else if (whiteList.indexOf(to.path) !== -1) { + next() } else { if (useUserStore().roles.length === 0) { isRelogin.show = true -- Gitblit v1.9.3