From 060c5f1d0ae999cd8c8fb965e8526ffab17ac2d1 Mon Sep 17 00:00:00 2001 From: zhaozhao <616510680@qq.com> Date: Tue, 20 Apr 2021 13:43:19 +0800 Subject: [PATCH] chore: adjust the parameter order of the mountChildren function --- packages/runtime-core/src/renderer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/runtime-core/src/renderer.ts b/packages/runtime-core/src/renderer.ts index 2c1b2bbd..2187ce3e 100644 --- a/packages/runtime-core/src/renderer.ts +++ b/packages/runtime-core/src/renderer.ts @@ -876,8 +876,8 @@ function baseCreateRenderer( parentComponent, parentSuspense, isSVG, - optimized, slotScopeIds, + optimized, start = 0 ) => { for (let i = start; i < children.length; i++) { @@ -892,8 +892,8 @@ function baseCreateRenderer( parentComponent, parentSuspense, isSVG, - optimized, - slotScopeIds + slotScopeIds, + optimized ) } }