Explorar o código

chore: update

daiwei hai 6 meses
pai
achega
9ffd47b0a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/runtime-vapor/src/dom/hydration.ts

+ 1 - 1
packages/runtime-vapor/src/dom/hydration.ts

@@ -174,7 +174,7 @@ function locateHydrationNodeImpl(): void {
       if (usedCount !== undefined) {
         node = locateChildByLogicalIndex(
           insertionParent!,
-          ($idx || 0) + usedCount + 1,
+          $idx + usedCount + 1,
         )!
         usedCount++
       } else {