From 3c46fcdb8c6217ff97e98c33d8f1e6e9b9cc7c1b Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期一, 02 十一月 2020 19:27:18 +0800
Subject: [PATCH] 桌面图标自适应,应用中心添加升级角标;应用中心算法卸载联调,tab名称更新;统计查询(集群)场景查询参数更新

---
 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