From c272550f85eaac2224de795c10708722bc966f61 Mon Sep 17 00:00:00 2001 From: daiwei Date: Sat, 20 Sep 2025 09:43:52 +0800 Subject: [PATCH] chore: update --- packages/runtime-vapor/src/insertionState.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/runtime-vapor/src/insertionState.ts b/packages/runtime-vapor/src/insertionState.ts index f1e128d42e..fc015c219f 100644 --- a/packages/runtime-vapor/src/insertionState.ts +++ b/packages/runtime-vapor/src/insertionState.ts @@ -134,6 +134,8 @@ function cacheTemplateChildren(parent: InsertionParent) { if (!parent.$children) { const nodes = parent.childNodes const len = nodes.length + if (len === 0) return + const children = new Array(len) as ChildItem[] for (let i = 0; i < len; i++) { const node = nodes[i] as ChildItem -- 2.47.3