Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Why the way of 'this.$t() used in data ' binding can't auto change when click the switch btn #271
I do have same problem too.
If I use this.$("data") in data property and then assign it to a value which would be used in the corresponding template, it would not be changed automatically when I click the switch locale button (this button is used to change the value of locale by this.$i18n.locale).
And the most weird part is that, when I change the value of locale manually, the data on the webpage would be changed automatically, such weird...