From: daiwei Date: Sat, 20 Sep 2025 01:43:52 +0000 (+0800) Subject: chore: update X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c272550f85eaac2224de795c10708722bc966f61;p=thirdparty%2Fvuejs%2Fcore.git chore: update --- 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