@@ -183,8 +183,12 @@
}
},
operateDelFn(index) {
- this.closeOperate();
+ console.log('我点击了删除按钮!', index)
+ // this.closeOperate();
this.operateData.splice(index, 1);
+
+ this.menuData[this.activeIndex].children = JSON.parse(JSON.stringify(this.operateData));
setTimeout(() => {
this.$set(this.operateShow, this.activeIndex, true);
});