Skip to content
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

"Vue.set" doesn't works #12034

Closed
Terence-Cheng opened this issue Apr 26, 2021 · 1 comment
Closed

"Vue.set" doesn't works #12034

Terence-Cheng opened this issue Apr 26, 2021 · 1 comment

Comments

@Terence-Cheng
Copy link

Version

2.6.11

Reproduction link

https://codesandbox.io/s/prod-http-o0x6q?file=/src/App.vue

Steps to reproduce

If I assign a value to a property that is not defined in advance before using the Vue.set, then this property is not responsive.
f I delete the code of "assigning the value", then it works.

What is expected?

The value I set is not shown in the html.

What is actually happening?

The value I set is shown in the html.

@posva
Copy link
Member

posva commented Apr 26, 2021

Duplicate of #8129

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

No branches or pull requests

2 participants