mirror of https://github.com/vuejs/core.git
wip: fix e2e test
This commit is contained in:
parent
1bb0fa1c87
commit
fc2f9f873e
|
@ -198,7 +198,7 @@ export function insert(
|
||||||
performTransitionEnter(
|
performTransitionEnter(
|
||||||
block,
|
block,
|
||||||
(block as TransitionBlock).$transition as TransitionHooks,
|
(block as TransitionBlock).$transition as TransitionHooks,
|
||||||
() => parent.insertBefore(block, anchor),
|
() => parent.insertBefore(block, anchor as Node),
|
||||||
parentSuspense,
|
parentSuspense,
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -259,7 +259,7 @@ function createVDOMComponent(
|
||||||
internals.umt(vnode.component!, null, !!parentNode)
|
internals.umt(vnode.component!, null, !!parentNode)
|
||||||
}
|
}
|
||||||
|
|
||||||
vnode.scopeId = parentInstance.type.__scopeId!
|
vnode.scopeId = parentInstance && parentInstance.type.__scopeId!
|
||||||
|
|
||||||
frag.insert = (parentNode, anchor, transition) => {
|
frag.insert = (parentNode, anchor, transition) => {
|
||||||
const prev = currentInstance
|
const prev = currentInstance
|
||||||
|
|
Loading…
Reference in New Issue