From 35322555f2ddbc26e73b477e083d9267348c84cb Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 03 十二月 2020 15:36:39 +0800
Subject: [PATCH] 修复编辑区域名称不显示的bug;数据栈信息名称添加命名限制

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

diff --git a/src/components/canvas/Dialog.vue b/src/components/canvas/Dialog.vue
index f56437b..05286c6 100644
--- a/src/components/canvas/Dialog.vue
+++ b/src/components/canvas/Dialog.vue
@@ -218,7 +218,8 @@
     cancel() {
       this.changeType('0')
       this.undisabled()
-      this.delCursor = {}
+      //this.delCursor = {}
+      this.delCursor = { type: -1, index: -1, remarksName: "", id: "" };
       this.canvasHistory.length = 0;
       this.step = -1;
       this.canvasData = JSON.parse(JSON.stringify(this.canvasDataToChild));
@@ -536,6 +537,7 @@
           _this.type = "0";
           _this.delCursor.type = "2";
           _this.delCursor.index = i;
+          debugger
           _this.delCursor.remarksName = v.name;
           _this.delCursor.id = v.id;
           // console.log("褰撳墠閫変腑鍏冪礌锛�",_this.delCursor)

--
Gitblit v1.8.0