|
|
@ -72,14 +72,14 @@ |
|
|
|
let params = { |
|
|
|
couponId: item.id |
|
|
|
}; |
|
|
|
this.clickSubMethod(item) |
|
|
|
// this.clickSubMethod(item) |
|
|
|
let data = await Api.apiCall('post', Api.index.acceptCoupon, params); |
|
|
|
// console.log("data?????", data); |
|
|
|
// if (data) { |
|
|
|
// // this.$api.msg(data); |
|
|
|
// this.clickSubMethod(item) |
|
|
|
console.log("data?????", data); |
|
|
|
if (data) { |
|
|
|
// this.$api.msg(data); |
|
|
|
this.clickSubMethod(item) |
|
|
|
|
|
|
|
// } |
|
|
|
} |
|
|
|
uni.hideLoading(); |
|
|
|
}else{ |
|
|
|
uni.showModal({ |
|
|
|