mirror of https://github.com/vuejs/core.git
wip: respect inheritAttrs
This commit is contained in:
parent
4df4624415
commit
edde81cf67
|
@ -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
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue