src/components/giantTree/zTree/ztree.vue
@@ -121,6 +121,7 @@ this.ztreeSetting.check.enable = this.showCheckbox; if (this.ztreeObj) { this.list = this.ztreeObj.getNodes(); this.ztreeObj.destroy(); } this.$nextTick(() => { @@ -150,7 +151,7 @@ btn.addEventListener('click', (e) => { e.stopPropagation() // this.clickRemove(treeNode) _vue.$emit("addNode", treeNode); _vue.$emit("onAddNode", treeNode); }) item.appendChild(btn);