phphe / vue-draggable-nested-tree

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

click to get data is not showing all data #101

Open ben-roth opened 4 years ago

ben-roth commented 4 years ago

Hello, I am trying to figure out how add click support to get all of the specific node data however I don't see the proper node data like I do in the dragend event for instance the parent is missing on the click of a node but is present in the dragend event.

I saw your answer for supporting this functionality in #61 however when I do that same thing I don't for instance get the parent or children of the clicked node like I do when I log the data from a dragend function.

Here is what I see in the dplh of a dragend event:

Here is what I see in _vm.store.dplh on the click event:

phphe commented 4 years ago

Thank you for your use. I published he-tree-vue. vue-draggable-nested-tree will no longer be updated. try this https://he-tree-vue.phphe.com/