src/permission.js @@ -52,7 +52,8 @@ // 在免登录白名单,直接进入 next() } else { next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页 // next(`/homePage?redirect=${to.fullPath}`) // 否则全部重定向到登录页 next('/homePage') NProgress.done() } }