Explorar o código

fix: 刷新小车

TwoKe945 hai 1 ano
pai
achega
41344d6345
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/cardIot/Map/index.vue

+ 3 - 3
src/views/cardIot/Map/index.vue

@@ -300,9 +300,9 @@ export default {
           cache[car.id] = marker
           that.markeList = Object.values(cache)
           that.map.add(marker)
-          // that.timer = setTimeout(() => {
-          //   refreshFireCar()
-          // }, 10 * 1000)
+          that.timer = setTimeout(() => {
+            refreshFireCar()
+          }, 10 * 1000)
         })
       }
       refreshFireCar()