Skip to content

Commit edde81c

Browse files
committed
wip: respect inheritAttrs
1 parent 4df4624 commit edde81c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime-vapor/src/component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export function createComponent(
104104
// if yes, inject parent attrs as dynamic props source
105105
if (
106106
isSingleRoot &&
107+
component.inheritAttrs !== false &&
107108
isVaporComponent(currentInstance) &&
108109
currentInstance.hasFallthrough
109110
) {

0 commit comments

Comments
 (0)