現(xiàn)在我要setData()一些參數(shù)代碼類似showList(e){ let index=e.currentTarget.dataset.index; let id=e.currentTarget.dataset.id; this.setData({ 'voiceObj.pageList[index].showList':!this.data.voiceObj.pageList[index].showList })},我要改變voiceObj對象中的pageLIst數(shù)組下標(biāo)為index中的某個參數(shù),請問應(yīng)該怎么寫
小程序數(shù)組下標(biāo)為變量怎么訪問
明月笑刀無情
2019-02-26 13:08:44