From e3b49d33e9c2e8ba75ce3d6fdef0da27d529c72c Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期四, 14 十二月 2023 10:43:00 +0800 Subject: [PATCH] 样式调整 --- src/permission.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/permission.js b/src/permission.js index f13cc3c..b3da443 100644 --- a/src/permission.js +++ b/src/permission.js @@ -11,7 +11,7 @@ NProgress.configure({ showSpinner: false }); -const whiteList = ['/homePage']; +const whiteList = ['/homePage','/fillForm']; router.beforeEach((to, from, next) => { NProgress.start() @@ -52,7 +52,8 @@ // 在免登录白名单,直接进入 next() } else { - next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页 + // next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页 + next('/homePage') NProgress.done() } } -- Gitblit v1.9.2