this.arr = [{hour: 8, name: 'yibo'}, {hour: 8, name: 'lisi'}]
1、强制刷新
this.$forceUpdate()
2、数组解构
this.arr = [...this.arr]
3、$set API
this.$set(this.arr[i], 'hour', this.arr[i].hour + 1)
标签:uniapp,arr,set,name,hour,解构,数组,页面
来源: https://www.cnblogs.com/huguo/p/16119439.html