let param = {} param[`array[${index}].lock`] = event.detail this.setData(param)
小程序动态添加可响应的数组
原文:https://www.cnblogs.com/likewpp/p/11038617.html