feat:去除路由守卫以及测试
This commit is contained in:
@@ -41,7 +41,8 @@ router.beforeEach((to, from, next) => {
|
||||
// 在免登录白名单,直接进入
|
||||
next();
|
||||
} else {
|
||||
next(`/login?redirect=${to.path}&unTourist=true`); // 否则全部重定向到登录页
|
||||
next();
|
||||
// next(`/login?redirect=${to.path}&unTourist=true`); // 否则全部重定向到登录页
|
||||
NProgress.done();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user