diff --git a/packages/runtime-core/src/components/BaseTransition.ts b/packages/runtime-core/src/components/BaseTransition.ts index a05f6ff5c05..7526d4fdb43 100644 --- a/packages/runtime-core/src/components/BaseTransition.ts +++ b/packages/runtime-core/src/components/BaseTransition.ts @@ -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,