From a75952451bb376a4c5624e62c744930f91f4401b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期二, 03 十一月 2020 18:15:07 +0800
Subject: [PATCH] 添加多页面ico配置

---
 src/components/canvas/Dialog.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/components/canvas/Dialog.vue b/src/components/canvas/Dialog.vue
index 8d66184..f56437b 100644
--- a/src/components/canvas/Dialog.vue
+++ b/src/components/canvas/Dialog.vue
@@ -1269,7 +1269,10 @@
       this.lineIndex = this.canvasData.line.length;
       this.rectIndex = this.canvasData.rect.length;
       this.arrowIndex = this.canvasData.arrow.length;
-      this.polygonIndex = this.canvasData.polygon.length;
+      //鎺掗櫎this.canvasData.polygon鍏ㄩ儴鍖哄煙(鍏ㄩ儴鍖哄煙鐨刬d灏辨槸鎽勫儚鏈虹殑id)
+
+      let filterPolygonArr = this.canvasData.polygon.filter(item=>item.id != this.TreeDataPool.selectedNode.id)
+      this.polygonIndex = filterPolygonArr.length;
     },
     // 鐢熸垚uuid
     getUuid() {

--
Gitblit v1.8.0