]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
wip: update
authordaiwei <daiwei521@126.com>
Mon, 17 Mar 2025 06:29:20 +0000 (14:29 +0800)
committerdaiwei <daiwei521@126.com>
Mon, 17 Mar 2025 06:29:20 +0000 (14:29 +0800)
packages/runtime-vapor/src/components/TransitionGroup.ts

index ed4a3d1ef55fb958adc03e17d009daddee45c132..952c442dc5d0b1199a52b583aa00dac1eeac3536 100644 (file)
@@ -91,7 +91,6 @@ export const VaporTransitionGroup: ObjectVaporComponent = decorate({
       }
 
       const moveClass = props.moveClass || `${props.name || 'v'}-move`
-
       const firstChild = getFirstConnectedChild(prevChildren)
       if (
         !firstChild ||
@@ -128,6 +127,7 @@ export const VaporTransitionGroup: ObjectVaporComponent = decorate({
     setTransitionHooksOnFragment(slottedBlock, {
       props: cssTransitionProps,
       state,
+      instance,
     } as VaporTransitionHooks)
 
     children = getTransitionBlocks(slottedBlock)