Skip to content

Commit 15f33d1

Browse files
authored
Merge pull request #64 from ParadeTo/fix-#62
fix: 🐛 #62
2 parents 69ffc1d + a67e39c commit 15f33d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/VueTreeList.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ export default {
332332
return true
333333
},
334334
dragEnter() {
335-
if (!compInOperation) return
336-
if (this.model.isLeaf) return
335+
if (compInOperation.model.id === this.model.id || !compInOperation || this.model.isLeaf) return
337336
this.isDragEnterNode = true
338337
},
339338
dragLeave() {

0 commit comments

Comments
 (0)