Xinxin

Results 166 comments of Xinxin

try use reactive not ref

try `list.value = [...list.value]` to trigger

could you create a online reproduce?

could you can create a reproduce on github.

use `add` method to add removed node into the tree. https://hetree.phphe.com/v2/api#add

https://github.com/phphe/he-tree/blob/dev/packages/he-tree-vue/src/examples/Draggable.vue#L108 use statHandler to set initial properties

This node data is not in the tree. Or you can create a reproduce online.

You can place it in last node. In slot, use node index to detect if it is last one. ``` {{stat.parent.children.indexOf(node)}} ```

I guess because `window` is undefined in vue `mounted` hook.