Browse Source

打包bug

tangning 2 years ago
parent
commit
17099ccb34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/router/guard/permissionGuard.ts

+ 1 - 1
src/router/guard/permissionGuard.ts

@@ -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) {