wang_xy hace 2 años
padre
commit
d66ded3a97
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/views/eventdetailsdialog.vue

+ 4 - 0
src/views/eventdetailsdialog.vue

@@ -1943,6 +1943,8 @@ export default {
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
             that.$refs.supermapDialog.setMarkers([markersMap])
           }, 2000)
         }
@@ -2031,6 +2033,8 @@ export default {
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
             that.$refs.supermapDialog.setMarkers([markersMap])
           }, 2000)
         }