Sfoglia il codice sorgente

地灾项目跳转默认注释了的

sujunling 1 anno fa
parent
commit
1f46eddcc1
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/router/guard/permissionGuard.ts

+ 2 - 0
src/router/guard/permissionGuard.ts

@@ -59,6 +59,8 @@ export async function createPermissionGuard(router: Router) {
             return;
           }
         } catch { }
+      } else {
+        // window.location.href = '/index.html';//地灾项目使用这个
       }
       next();
       return;