|
|
@ -271,9 +271,11 @@ Page({ |
|
|
|
}, |
|
|
|
// 返回结算页面
|
|
|
|
chooseBack: function (e) { |
|
|
|
wx.navigateBack() |
|
|
|
var addressId = e.currentTarget.dataset.id |
|
|
|
wx.setStorageSync('addressId', addressId); |
|
|
|
if (this.data.productStr) { |
|
|
|
wx.navigateBack() |
|
|
|
var addressId = e.currentTarget.dataset.id |
|
|
|
wx.setStorageSync('addressId', addressId); |
|
|
|
} |
|
|
|
}, |
|
|
|
// 数据加载
|
|
|
|
DataonLoad: function () { |
|
|
@ -287,7 +289,7 @@ Page({ |
|
|
|
if (res.code == 200) { |
|
|
|
var data = res.data; |
|
|
|
var address = data.adds; |
|
|
|
that.numbers = data.adds; |
|
|
|
// that.numbers = data.adds;
|
|
|
|
if (address == '') { |
|
|
|
var address = [] |
|
|
|
} |
|
|
|