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 yes, inject parent attrs as dynamic props source
|
||||||
if (
|
if (
|
||||||
isSingleRoot &&
|
isSingleRoot &&
|
||||||
|
component.inheritAttrs !== false &&
|
||||||
isVaporComponent(currentInstance) &&
|
isVaporComponent(currentInstance) &&
|
||||||
currentInstance.hasFallthrough
|
currentInstance.hasFallthrough
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue