phphe / vue-draggable-nested-tree

Vue2 draggable tree component
https://hetree.phphe.com/
MIT License
344 stars 62 forks source link

potential fix for can't reorder at deepest level in #27 #29

Closed flight9 closed 5 years ago

flight9 commented 5 years ago

I've changed targets['nothing'](info) to targets['after'](info); in 3 places, seems to fix the issue in #27 for me.

phphe commented 5 years ago

thank you. in fact, the decision tree is generated. so the manual change shouldn't be merged in. I will found a solution later.

phphe commented 5 years ago

@flight9 latest 2.1.7 should solve that