From 81b4bca516d37a36854181d60215e6ceaddc5e9c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 30 Mar 2023 15:45:15 +0800
Subject: [PATCH] 安保活动相关更改

---
 src/views/activity/components/polygonPlot.vue |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/views/activity/components/polygonPlot.vue b/src/views/activity/components/polygonPlot.vue
index 7133bf8..7b3df0d 100644
--- a/src/views/activity/components/polygonPlot.vue
+++ b/src/views/activity/components/polygonPlot.vue
@@ -138,7 +138,7 @@
 
             if (type == 5) {
                 this.polygonAreaType = 1
-                this.isNeedPolygonType = true
+                this.isNeedPolygonType = false
             } else {
                 this.isNeedPolygonType = false
             }
@@ -155,7 +155,7 @@
 
             if (e.overlay.attrParams.item.type == 5) {
                 this.polygonAreaType = e.overlay.attrParams.item.areaType != '' ? e.overlay.attrParams.item.areaType : 1
-                this.isNeedPolygonType = true
+                this.isNeedPolygonType = false
             } else {
                 this.isNeedPolygonType = false
             }
@@ -203,12 +203,7 @@
         editPlot () {
             this.editPlotVisible = false
 
-            this.reeditArrowDbClick(plotOverlayData)
-        },
-
-        // 双击修改箭头
-        reeditArrowDbClick (e) {
-            this.$parent.plotEdit(e.overlay, 'arrow')
+            this.$parent.plotEdit(plotOverlayData.overlay, 'arrow')
         },
 
         // 保存标绘修改

--
Gitblit v1.9.3