Xinxin

Results 166 comments of Xinxin

I have not got this problem. Try reinstall node_modules

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/

refer max level: https://github.com/phphe/vue-draggable-nested-tree/blob/master/src/examples/MaxLevel.vue set other type nodes droppable false on drag

```js // may like this ondrag(node) { th.depthFirstSearch(this.originalData, (childNode) => { if (childNode === node) { return 'skip children' } if (node.type === 'activity') { this.$set(childNode, 'droppable', childNode.type === 'module')...

@daveKoala import * as th from 'tree-helper'

No. The slot-scope has not `path`.

一个思路: ondragend的参数draggableHelperInfo draggableHelperInfo.event是事件, 可以获取鼠标位置, 然后用鼠标位置判断是否在树外