ソースを参照

历史拜访公司不能为空问题修复

sunny 2 ヶ月 前
コミット
926cf8c05c
1 ファイル変更3 行追加4 行削除
  1. 3 4
      src/views/historicalVisit/historAllVisit.vue

+ 3 - 4
src/views/historicalVisit/historAllVisit.vue

@@ -268,9 +268,6 @@ export default {
     if(this.latestUpdateTime!=null && type == 1){ 
       this.getListTotalFn();
     }
-    // setTimeout(() => {
-    //   this.onSearch();
-    // }, 1000);
   },
   created() {
     this.info();
@@ -306,7 +303,9 @@ export default {
         this.getDeptInfo('user');
       }, 2000);
     }
-    this.onSearch();
+    setTimeout(() => {
+      this.onSearch();
+    }, 1000);
   },
   methods: {
     getListTotalFn(){