微信小程序改变数组里的对象属性,页面不更新问题
例如:改变list
数组中,索引为index
的项的对象属性值为 key
的值,改为 value
this.setData({
[`list[${index}].key`]: value
})
A little hug, little gift.
All of little something.
these are our meories.