Commit 69a1d0ce authored by leiqingsong's avatar leiqingsong

修改一下活动领取

parent 3a710b9e
......@@ -135,7 +135,7 @@ export default {
timer: null,
timeLine: "",
isAward: false,
showAward: true,
showAward: false,
userBaseInfo: {},
isMember: false,
openid: "",
......@@ -277,8 +277,9 @@ export default {
},
// 领取(
handleGet() {
console.log("env", this.env);
if (
this.env.match(/MicroMessenger/i) !== "micromessenger" ||
this.env.match(/MicroMessenger/i) === "micromessenger" &&
this.env.match(/wxwork/i) == "wxwork"
) {
this.$toast("请在微信端领取!");
......@@ -303,7 +304,7 @@ export default {
}
// 会员领取
let params = {
couponId: this.awardGood.activityPrize
couponId: this.awardGood.coupon
? this.awardGood.coupon.id
: this.couponDetail.id,
unionId: this.userBaseInfo.unionid,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment