版权声明:内容多为自言自语,请自行判断有无价值。 https://blog.csdn.net/weixin_41702247/article/details/83993668
数组:
- 数组变异:push、pop、unshift、shift、splice、sort、、reverse
- 直接令其指向新的数组对象:app.list=[***]
- Vue.set(app.list, index, '***')或app.$set(app.list, index, '***')
对象:
- 指向新对象:app.userInfo={***}
- Vue.set(app.userInfo, '键名', '键值')或app.$set()