fix(runtime-core): pass props and children to loadingComponent (#13997)

This commit is contained in:
indykoning 2025-11-05 10:18:20 +01:00 committed by GitHub
parent e6544ac292
commit 40c4b2a876
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -241,7 +241,10 @@ export function defineAsyncComponent<
error: error.value, error: error.value,
}) })
} else if (loadingComponent && !delayed.value) { } else if (loadingComponent && !delayed.value) {
return createVNode(loadingComponent) return createInnerComp(
loadingComponent as ConcreteComponent,
instance,
)
} }
} }
}, },