Jelajahi Sumber

历史拜访界面缓存优化提交

sunny 3 bulan lalu
induk
melakukan
dc4b67f601
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/views/historicalVisit/historAllVisit.vue

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

@@ -264,9 +264,9 @@ export default {
     };
   },
   activated() {
-    if(this.latestUpdateTime!=null){ 
-       this.refreshTotal = 18;
-    }
+    // if(this.latestUpdateTime!=null){ 
+    //    this.refreshTotal = 18;
+    // }
     // setTimeout(() => {
     //   this.onSearch();
     // }, 1000);
@@ -410,7 +410,7 @@ export default {
       }).then((res) => {
         loading1.clear();
         if (res.code == 200) {
-          this.latestUpdateTime = '2025-09-03 13:47:47';
+          // this.latestUpdateTime = '2025-09-03 13:47:47';
           this.loading = false;
           this.list = this.list.concat(res.data);
           if (this.list.length >= res.total) {