wip: respect inheritAttrs

This commit is contained in:
Evan You 2024-12-09 13:12:37 +08:00
parent 4df4624415
commit edde81cf67
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ export function createComponent(
// if yes, inject parent attrs as dynamic props source
if (
isSingleRoot &&
component.inheritAttrs !== false &&
isVaporComponent(currentInstance) &&
currentInstance.hasFallthrough
) {