From bbb9ee296e5ca96d80eed76173c3d76ebc14fc5f Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 17 May 2023 09:50:08 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs

---
 src/views/activity/components/drawBtnBox.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/views/activity/components/drawBtnBox.vue b/src/views/activity/components/drawBtnBox.vue
index b644604..f094367 100644
--- a/src/views/activity/components/drawBtnBox.vue
+++ b/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,

--
Gitblit v1.9.3