feat:去除路由守卫以及测试

This commit is contained in:
Xwen
2023-12-14 23:29:36 +08:00
parent 088a76b3cc
commit 8ad5f28e99
5 changed files with 103 additions and 90 deletions

View File

@@ -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();
}
}