Xinxin

Results 157 comments of Xinxin
trafficstars

```pug Tree(:data="data" draggable crossTree) div(slot-scope="{data, store, vm}" @click="yourmethod(data)") //- data is node //- store is the tree //- vm is node Vue instance, you can get node level by vm.level...

> 那个 添加了@click="yourmethod(data)" 获取当前节点数据 时 我想解析当前节点的数据 但是该对象 还在遍历循环中 控制台报错:Uncaught TypeError: Converting circular structure to JSON use tree.pure ```pug // with children div(slot-scope="{data, store, vm}" @click="yourmethod(store.pure(data, true))") // without children div(slot-scope="{data,...

> Tree events change Event the third parameter oldTree returns null and does not fetch the oldTree structure old tree exists when drag cross tree

https://github.com/phphe/vue-draggable-nested-tree/blob/master/src/components/DraggableTreeNode.vue#L61 check the source code, line 61 to 68

2.2.4 nodeOpenChanged will be emited nodeOpenChanged(node) // on a node is closed or open

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/

thanks. I will check it.

Thank 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/