Pārlūkot izejas kodu

取消重复请求

gcz 2 gadi atpakaļ
vecāks
revīzija
1719246ed7
1 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 4 3
      src/views/index.vue

+ 4 - 3
src/views/index.vue

@@ -3,7 +3,7 @@
  * @Author: wangcc
  * @Date: 2022-07-06 15:56:45
  * @LastEditors: gcz
- * @LastEditTime: 2022-11-04 14:32:39
+ * @LastEditTime: 2022-11-04 14:48:39
  * @FilePath: \ntbigscreen\src\views\index.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -350,7 +350,7 @@ export default {
   },
   mounted() {
     this.getPageData();
-    this.getRightScrollData();
+    // this.getRightScrollData();
     setInterval(() => {
       this.getPageData();
     }, 1160000);
@@ -1213,8 +1213,9 @@ export default {
       this.getPageData();
     },
     projectSearch() {
+      // console.log('projectSearch');
       this.getProjectScrollData();
-      this.getPageData();
+      // this.getPageData();
     },
     basesearch() {
       // console.log('xiaobansearch');