在page中

 data: {
   info: [{
       name: "yuki",
       tou: "../img/head.jpg",
       zGong: 130,
       gMoney: 222222
     },
     {
       name: "yuki",
       tou: "../img/head.jpg",
       zGong: 130,
       gMoney: 222222
     },
     {
       name: "yuki",
       tou: "../img/head.jpg",
       zGong: 130,
       gMoney: 222222
     },
     {
       name: "yuki",
       tou: "../img/head.jpg",
       zGong: 130,
       gMoney: 222222
     },
     {
       name: "yuki",
       tou: "../img/head.jpg",
       zGong: 130,
       gMoney: 222222
     }
   ]
 }

微信小程序用setData修改数组或对象中的一个属性值,超好用,最简单的实现方法,不容错过!大神们  都 在 看 的方法!!!-LMLPHP

 onLoad: function () {
   var that = this;
   var up = "info[" + 0 + "].gMoney"; //先用一个变量,把(info[0].gMoney)用字符串拼接起来
   that.setData({
     [up]: 1
   })
 }
04-14 16:05