mirror of https://github.com/vuejs/core.git
fix(BaseTransition): fix `BaseTransition` delayed leave with mode `in-out` (#1404)
fix #1400
This commit is contained in:
parent
299fda46a1
commit
2ff8dcab0a
|
@ -185,7 +185,6 @@ const BaseTransitionImpl = {
|
|||
oldInnerChild.type !== Comment &&
|
||||
!isSameVNodeType(innerChild, oldInnerChild)
|
||||
) {
|
||||
const prevHooks = oldInnerChild.transition!
|
||||
const leavingHooks = resolveTransitionHooks(
|
||||
oldInnerChild,
|
||||
rawProps,
|
||||
|
@ -204,7 +203,6 @@ const BaseTransitionImpl = {
|
|||
}
|
||||
return emptyPlaceholder(child)
|
||||
} else if (mode === 'in-out') {
|
||||
delete prevHooks.delayedLeave
|
||||
leavingHooks.delayLeave = (
|
||||
el: TransitionElement,
|
||||
earlyRemove,
|
||||
|
|
Loading…
Reference in New Issue