0👍
Two breaking changes exist for v2.
-
v-for
https://v2.vuejs.org/v2/guide/migration.html#v-for-Argument-Order-for-Arrays-changed -
vm.$set
https://v2.vuejs.org/v2/guide/migration.html#vm-set-changed
Fixed: https://jsfiddle.net/0qudfr48/9/
v-for="(item, index) in items"
...
Vue.set(vm, 'items', mysqlData.map((item) => {
...
- [Vuejs]-Reorder dom not binding to vue array instance?
- [Vuejs]-How to bind the value separately returned from the component
Source:stackexchange.com