Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pieterjanmaes opened this issue Aug 12, 2019 · 4 comments
Open

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

pieterjanmaes opened this issue Aug 12, 2019 · 4 comments

Comments

@pieterjanmaes
Copy link

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

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

@phphe
Copy link
Owner

phphe commented Aug 12, 2019

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

@kyung-yeon
Copy link
Contributor

It seems to be the same problem.. #90

@pieterjanmaes
Copy link
Author

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

@bum-hyun
Copy link

bum-hyun commented Oct 12, 2019

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants