|
@@ -30,7 +30,7 @@ export function createPermissionGuard(router: Router) {
|
|
}
|
|
}
|
|
|
|
|
|
const token = userStore.getToken;
|
|
const token = userStore.getToken;
|
|
-
|
|
|
|
|
|
+ debugger
|
|
// Whitelist can be directly entered
|
|
// Whitelist can be directly entered
|
|
if (whitePathList.includes(to.path as PageEnum)) {
|
|
if (whitePathList.includes(to.path as PageEnum)) {
|
|
if (to.path === LOGIN_PATH && token) {
|
|
if (to.path === LOGIN_PATH && token) {
|