From 8ca3c7fe1f0476a3e2ea10cf4a7fe7c448e5581d Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 03 十二月 2020 15:57:25 +0800
Subject: [PATCH] 数据栈目录树作响应式高度

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