From fa3a13b43cdcd3bcc42abae4d9c0a67e48ebea41 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期二, 12 十二月 2023 16:05:41 +0800 Subject: [PATCH] feat: bug修复 12536 --- 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