微信小程序拼json值

Others 2018-06-10 01:47:24 2018-06-10 01:47:24 2454 次浏览

var name="options.data"  //键名

this.setData({

   "[name]":"aa"

})