This commit is contained in:
youxingzhi
2020-01-30 10:43:51 +08:00
parent 69ffc1da0f
commit a67e39ce31

View File

@@ -332,8 +332,7 @@ export default {
return true
},
dragEnter() {
if (!compInOperation) return
if (this.model.isLeaf) return
if (compInOperation.model.id === this.model.id || !compInOperation || this.model.isLeaf) return
this.isDragEnterNode = true
},
dragLeave() {