Skip to content

fix(runtime-core): ensure computed has a value when applyOptions #2792

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

Closed
wants to merge 2 commits into from

Conversation

edison1105
Copy link
Member

close #2791.
if computed is not has a value. the options is not updated when this.$options has changed.
I'm not sure if this is the best way.

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.

Adding to this.$options.computed during beforeCreate only works if computed is already defined on component
1 participant