shuishen
2023-03-31 e88d2bca9652076d71cb6a8a64b25c226c61a91f
src/views/activity/components/polylinePlot.vue
@@ -168,13 +168,14 @@
                color: this.chooseColor,
                width: this.lineWidth
            })
            this.lineEditVisible = false
        },
        // 添加警车和范围
        // carId警车id, position坐标, securityIdid, type线面类型,width缓存范围,color范围颜色
        addCarAndRange (params) {
            addCarAndRange(params).then(res => {
                this.lineEditVisible = false
                if (res.data.success) {
                    this.$parent.addNewPolice(res.data.data, 'policecar', params.type)