mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
e50557a87d
commit
a92d1bb54d
|
@ -525,14 +525,12 @@ export function createHydrationFunctions(
|
|||
if (dirs) {
|
||||
invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount')
|
||||
}
|
||||
if (
|
||||
(vnodeHooks = props && props.onVnodeMounted) ||
|
||||
dirs ||
|
||||
needCallTransitionHooks
|
||||
) {
|
||||
if (needCallTransitionHooks) {
|
||||
transition!.enter(el)
|
||||
}
|
||||
if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {
|
||||
queueEffectWithSuspense(() => {
|
||||
vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode)
|
||||
needCallTransitionHooks && transition!.enter(el)
|
||||
dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted')
|
||||
}, parentSuspense)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue