Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Cancel
3
  • Question body should contain all info that is necessary to understand the problem. You omitted datas. It's a computed without a good reason, it cannot be set Commented Nov 24, 2022 at 14:25
  • You have a variable and a method with the same name, maybe when you're trying to set the property value the JS is confusing with the method. In this link have a similar problem github.com/vuejs/vue/issues/565#issuecomment-63259845 Commented Nov 24, 2022 at 14:43
  • Also you call a getData method that don't exist, and you override datas() function on the fly with vm.datas Commented Nov 29, 2022 at 8:44