|
|
@ -64,9 +64,9 @@ export function lifecycleMixin (Vue: Class<Component>) { |
|
|
|
vm._update(vm._render(), hydrating) |
|
|
|
}, noop) |
|
|
|
hydrating = false |
|
|
|
// root instance, call mounted on self
|
|
|
|
// mounted is called for child components in its inserted hook
|
|
|
|
if (vm.$root === vm) { |
|
|
|
// manually mounted instance, call mounted on self
|
|
|
|
// mounted is called for render-created child components in its inserted hook
|
|
|
|
if (vm.$vnode == null) { |
|
|
|
vm._isMounted = true |
|
|
|
callHook(vm, 'mounted') |
|
|
|
} |
|
|
|