for (var i = 0; i < that.data.arrayy.length; i++) {
if (i == e.target.dataset.in) {
wx.setStorage({
key: ‘indexchande’,
data: {
time: that.data.arrayy[i].pay_time,
address1: that.data.arrayy[i].address2,
address: that.data.arrayy[i].address2,
mid: that.data.arrayy[i].mid,
local:that.data.local
取值
wx.getStorage({
key: ‘indexchande’,
success: function (res) {
that.setData({
time: res.data.time,
address: res.data.address,
address1: res.data.address1,
mid: res.data.mid
});
that.listsa(1, res.data.local)