From 76205588f0a7313b1a6dad4553fb256daa34d175 Mon Sep 17 00:00:00 2001 From: 也曾为你像超人 <1553592282@qq.com> Date: 星期二, 24 十月 2023 15:45:03 +0800 Subject: [PATCH] update ruoyi-ui/src/permission.js. --- ruoyi-ui/src/permission.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/permission.js b/ruoyi-ui/src/permission.js index e1a14da..c568979 100644 --- a/ruoyi-ui/src/permission.js +++ b/ruoyi-ui/src/permission.js @@ -18,6 +18,8 @@ if (to.path === '/login') { next({ path: '/' }) NProgress.done() + } else if (whiteList.indexOf(to.path) !== -1) { + next() } else { if (store.getters.roles.length === 0) { isRelogin.show = true -- Gitblit v1.9.2