guanqb
2023-05-17 bbb9ee296e5ca96d80eed76173c3d76ebc14fc5f
src/views/activity/components/drawBtnBox.vue
@@ -442,6 +442,13 @@
                addPlotOverlayData.attrParams = data
                this.$EventBus.$emit('layerPolygonArrowsAdd', {
                    layerName: 'newCarDrawLineLayers',
                    positions: positionNewArr,
                    material: color,
                    params: { ...data, item: data, data: data }
                })
                this.$EventBus.$emit('layerPolygonAdd', {
                    layerName: 'newCarDrawLineLayers',
                    positions: positionStr,
@@ -672,6 +679,13 @@
                    overlay.attrParams.width = params.width
                    overlay.attrParams.remark = params.remark
                    this.$EventBus.$emit('layerPolygonArrowsAdd', {
                        layerName: 'newCarDrawLineLayers',
                        positions: linePosition,
                        material: color,
                        params: { ...overlay.attrParams, item: overlay.attrParams, data: overlay.attrParams },
                    })
                    this.$EventBus.$emit('layerPolygonAdd', {
                        layerName: 'newCarDrawLineLayers',
                        positions: positionStr,