Fri Jun 09 2017 17:09:29 GMT+0800 不懂鸟语的人 我的个人学习笔记 Fri Jun 09 2017 17:09:29 GMT+0800 Vue.js 学习笔记 - 数组操作 数组操作变异方法 push() pop() shift() unshift() splice() sort() reverse() 重塑数组filter(), concat(), slice() 其他操作利用索引修改某一项数据:1Vue.set(example1.items, indexOfItem, newValue) 更改数组长度1example1.items.splice(indexOfItem, 1, newValue)