From a4273f1a1a6e63b7543acb2472b2af806fe44f41 Mon Sep 17 00:00:00 2001 From: futian.liu <liufutianyoo@163.com> Date: 星期四, 21 十二月 2023 14:28:08 +0800 Subject: [PATCH] 库管员设置过滤禁用部门与用户 --- admin-web/src/permission.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/admin-web/src/permission.js b/admin-web/src/permission.js index b6f2371..f51017e 100644 --- a/admin-web/src/permission.js +++ b/admin-web/src/permission.js @@ -23,7 +23,9 @@ if (hasToken) { if (to.path === '/login') { // if is logged in, redirect to the home page - next({ path: '/' }); + // next({ path: '/' }); + + next(); NProgress.done(); }else if( to.path === '/resetPwd'){ next(); -- Gitblit v1.9.1