this.setData({ | this.setData({ | ||||
addressShow: !this.data.addressShow | addressShow: !this.data.addressShow | ||||
}) | }) | ||||
if (this.data.addressShow) { | |||||
app.globalData.skipType = 'mycenter'; | |||||
} | |||||
this.hiddenMask(); | |||||
// if (this.data.addressShow) { | |||||
// app.globalData.skipType = 'mycenter'; | |||||
// } | |||||
}, | }, | ||||
getAddress: function () {//获取地址 | getAddress: function () {//获取地址 | ||||
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { | app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { |
this.setData({ | this.setData({ | ||||
addressShow: !this.data.addressShow | addressShow: !this.data.addressShow | ||||
}) | }) | ||||
if (this.data.addressShow) { | |||||
app.globalData.skipType = 'mycenter'; | |||||
} | |||||
this.hiddenMask(); | |||||
// if (this.data.addressShow) { | |||||
// app.globalData.skipType = 'mycenter'; | |||||
// } | |||||
}, | }, | ||||
getAddress: function () {//获取地址 | getAddress: function () {//获取地址 | ||||
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { | app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { |