Browse Source

首页地图修改5分钟调一次

“yueshang” 1 năm trước cách đây
mục cha
commit
038e004d54
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/views/index.vue

+ 1 - 3
src/views/index.vue

@@ -171,7 +171,7 @@ export default {
     this.getList();
     this.getInfo();
     setInterval(() => {
-      this.fetchData();
+      this.getInfo();
       this.$forceUpdate
     }, 5 * 60 * 1000)
   },
@@ -402,6 +402,4 @@ export default {
     }
   }
 }
-.popbottom {
-}
 </style>