会员购买未开启优化
parent
4b3259c304
commit
57bb7b61f6
|
|
@ -258,15 +258,17 @@
|
|||
},
|
||||
dataType: 'json',
|
||||
success: (res) => {
|
||||
uni.hideLoading();
|
||||
this.setData({
|
||||
submit_disabled_status: false,
|
||||
is_show_payment_popup: this.is_show_payment_popup ? false : true,
|
||||
temp_pay_value: res.data.data.id,
|
||||
pay_price: res.data.data.price,
|
||||
payment_id: res.data.data.payment_user_id,
|
||||
uni.hideLoading();
|
||||
this.setData({
|
||||
submit_disabled_status: false,
|
||||
});
|
||||
if (res.data.code == 0) {
|
||||
if (res.data.code == 0) {
|
||||
this.setData({
|
||||
is_show_payment_popup: this.is_show_payment_popup ? false : true,
|
||||
temp_pay_value: res.data.data.id,
|
||||
pay_price: res.data.data.price,
|
||||
payment_id: res.data.data.payment_user_id,
|
||||
});
|
||||
uni.setStorageSync(app.globalData.data.cache_page_pay_key, {
|
||||
order_ids: res.data.data.id,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue