Kaynağa Gözat

填报区分

wang_xy 2 yıl önce
ebeveyn
işleme
d66ded3a97
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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)
         }