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)