data:{week: [ { is_sign:0, date: "一", today:false }, { is_sign: 0, date: "二", today: false }, ] }, let data = 'week[' + n + '].is_sign' that.setData({ [data]: 1 })
data:{week: [ { is_sign:0, date: "一", today:false }, { is_sign: 0, date: "二", today: false }, ] }, let data = 'week[' + n + '].is_sign' that.setData({ [data]: 1 })