We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71f1c9b commit a62fd6fCopy full SHA for a62fd6f
src/components/view.js
@@ -48,13 +48,13 @@ export default {
48
// inject instance registration hooks
49
const hooks = data.hook || (data.hook = {})
50
hooks.init = vnode => {
51
- matched.instances[name] = vnode.child
+ matched.instances[name] = vnode.componentInstance
52
}
53
hooks.prepatch = (oldVnode, vnode) => {
54
55
56
hooks.destroy = vnode => {
57
- if (matched.instances[name] === vnode.child) {
+ if (matched.instances[name] === vnode.componentInstance) {
58
matched.instances[name] = undefined
59
60
0 commit comments