Sfoglia il codice sorgente

Merge branch 'master' of http://113.204.105.114:10011/TwoKe/ljclw-ui into master

LAPTOP-U5GOA5HA\zz 1 anno fa
parent
commit
fbb9fcb8b4
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      src/views/cardIot/Map/index.vue

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

@@ -296,9 +296,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()