vue-draggable-nested-tree icon indicating copy to clipboard operation
vue-draggable-nested-tree copied to clipboard

"TypeError: Cannot read property '_vm' of undefined"

Open pieterjanmaes opened this issue 6 years ago • 4 comments

Hi, the drag and drop functionality works. But I'm having always the same warning when I start to drag:

[Vue warn]: Error in v-on handler: "TypeError: Cannot read property '_vm' of undefined"

found in

---> <DraggableTree> at DraggableTree.vue

vue.esm.js?efeb:1897 TypeError: Cannot read property '_vm' of undefined at eval (Playlist.vue?3f83:192) at func (tree-helper.esm.js?12b1:82) at Object.depthFirstSearch (tree-helper.esm.js?12b1:97) at VueComponent.onDrag (Playlist.vue?3f83:188) at invokeWithErrorHandling (vue.esm.js?efeb:1863) at VueComponent.invoker (vue.esm.js?efeb:2188) at invokeWithErrorHandling (vue.esm.js?efeb:1863) at VueComponent.Vue.$emit (vue.esm.js?efeb:3891) at Object.drag (vue-draggable-nested-tree.es.js?4566:1346) at drag (draggable-helper.es.js?ed3a:90)

Kind regards, Pieterjan

pieterjanmaes avatar Aug 12 '19 09:08 pieterjanmaes

Ignore it if it does not affect the result. I am reconstructing this repo so I will not solve the issue.

phphe avatar Aug 12 '19 11:08 phphe

It seems to be the same problem.. #90

kyungyeon-byun-imweb-me avatar Aug 16 '19 00:08 kyungyeon-byun-imweb-me

I updated, but still have the same warning ...

pieterjanmaes avatar Aug 22 '19 11:08 pieterjanmaes

I updated, but still have the same warning ...

I think you are using typescript. If so, give a type to node and childNode.

bum-hyun avatar Oct 12 '19 06:10 bum-hyun