Преглед изворни кода

监控中心替换组织机构树

彭宇 пре 2 година
родитељ
комит
84e3bb81c5
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/views/monitor.vue

+ 5 - 0
src/views/monitor.vue

@@ -482,6 +482,11 @@ export default {
             that.$refs.supermap.clearM(false)
             that.$refs.supermap.clearM(false)
             that.$refs.supermap.setMarkersRadius(this.cameraMarkersList)
             that.$refs.supermap.setMarkersRadius(this.cameraMarkersList)
           }, 1000)
           }, 1000)
+        }else{
+          setTimeout(() => {
+            that.$refs.supermap.clearM(true)
+            that.$refs.supermap.clearM(false)
+          }, 1000)
         }
         }
       })
       })
     },
     },