mirror of https://github.com/vuejs/core.git
fix(runtime-core): pass props and children to loadingComponent (#13997)
This commit is contained in:
parent
e6544ac292
commit
40c4b2a876
|
|
@ -241,7 +241,10 @@ export function defineAsyncComponent<
|
|||
error: error.value,
|
||||
})
|
||||
} else if (loadingComponent && !delayed.value) {
|
||||
return createVNode(loadingComponent)
|
||||
return createInnerComp(
|
||||
loadingComponent as ConcreteComponent,
|
||||
instance,
|
||||
)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue