yangqishu 3 месяцев назад
Родитель
Сommit
d90146e05a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/views/water-station-popup/index.vue

+ 3 - 0
src/views/water-station-popup/index.vue

@@ -397,6 +397,9 @@ export default {
       this.radius = ''
       this.typeVal = '1'
       this.monitorList = []
+      if (graphicsLayer) {
+        window.map.removeLayer(graphicsLayer)
+      }
     }
   }
 }