| src/views/activity/index.vue | ●●●●● patch | view | raw | blame | history |
src/views/activity/index.vue
@@ -784,7 +784,7 @@ }, // 地图元素绘制 draw (type,) { draw (type) { let flag = false const that = this this.policeType = '' @@ -904,7 +904,6 @@ this.policeIconIsCreated = true this.policeIconId = e.overlay.attrParams.id this.policeType = e.overlay.attrParams.policemanId console.log(this.policeIconId, this.policeType) this.policeChooseVisible = true } }, @@ -930,6 +929,11 @@ type: 'HeatLayer' }) this.$EventBus.$emit('mapClearLayer', { layerName: 'newDrawLayers', type: 'VectorLayer' }) analyseLayer.clear() this.removeAll()