Skip to content

fix(runtime-core): fix resolving inheritAttrs from mixins #3742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 28, 2021

Conversation

edison1105
Copy link
Member

fix #3741

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@edison1105 edison1105 requested a review from yyx990803 May 13, 2021 01:24

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
chore: improve code

chore: improve code

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
the option
resolveInstanceAssets(instance, options, FILTERS)
}

if (inheritAttrs !== undefined) instance.inheritAttrs = inheritAttrs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: should only set this if the base component doesn't have the option (which should have highest priority)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inheritAttrs: false does not work in a mixin
3 participants