Sfoglia il codice sorgente

[Fix 0000] CAD预览首次登录公司端的问题修复

houzekong 8 mesi fa
parent
commit
b5bc9e0221
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      src/router/guard/index.ts

+ 3 - 1
src/router/guard/index.ts

@@ -70,7 +70,9 @@ function createPageLoadingGuard(router: Router) {
     if (to.meta.loaded) {
       return true;
     }
-    if (!ventStore.allTableHeaderColumns) await ventStore.setAllTableHeaderColumns();
+    if (!ventStore.allTableHeaderColumns) {
+      ventStore.setAllTableHeaderColumns();
+    }
     if (unref(getOpenPageLoading)) {
       appStore.setPageLoadingAction(true);
       return true;