setData局部更新是否有性能差异
let list =[{name:'1',item:[1,2,3,4]},{name:'2',item:[21,22,23,24]},{name:'3',item:[31,32,33,34]}] 写法1: list[0].item.push(5) this.setData({list:list}) 写法2: let item = list[0].item item.push(5) this.setData({'list[0].item':item}) 对于上述2种写法,小程序在刷新UI的时候,是否有性能差异?