chore: adjust the parameter order of the mountChildren function

This commit is contained in:
zhaozhao 2021-04-20 13:43:19 +08:00 committed by GitHub
parent 7a8bac73e1
commit 060c5f1d0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -876,8 +876,8 @@ function baseCreateRenderer(
parentComponent, parentComponent,
parentSuspense, parentSuspense,
isSVG, isSVG,
optimized,
slotScopeIds, slotScopeIds,
optimized,
start = 0 start = 0
) => { ) => {
for (let i = start; i < children.length; i++) { for (let i = start; i < children.length; i++) {
@ -892,8 +892,8 @@ function baseCreateRenderer(
parentComponent, parentComponent,
parentSuspense, parentSuspense,
isSVG, isSVG,
optimized, slotScopeIds,
slotScopeIds optimized
) )
} }
} }