1
guanqb
2022-12-01 bd0399bacb12dcd7beeb52bbb6f10163dd221452
1
1 files modified
8 ■■■■ changed files
src/views/activity/index.vue 8 ●●●● 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()