瀏覽代碼

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

houzekong 8 月之前
父節點
當前提交
b5bc9e0221
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;