wang_xy 2 gadi atpakaļ
vecāks
revīzija
d66ded3a97
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
           setTimeout(() => {
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
             that.$refs.supermapDialog.setMarkers([markersMap])
             that.$refs.supermapDialog.setMarkers([markersMap])
           }, 2000)
           }, 2000)
         }
         }
@@ -2031,6 +2033,8 @@ export default {
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
           setTimeout(() => {
+            that.$refs.supermap.clearM(false)
+            that.$refs.supermap.clearM(true)
             that.$refs.supermapDialog.setMarkers([markersMap])
             that.$refs.supermapDialog.setMarkers([markersMap])
           }, 2000)
           }, 2000)
         }
         }