Commit e68a4f397087c8e63bd4f9069949be7720fc733e
1 parent
d5f50ff9
工会商品页面,判断在App内再设置优惠券~
Showing
1 changed file
with
8 additions
and
4 deletions
src/pages/shopList/shopList.vue
| @@ -337,11 +337,15 @@ | @@ -337,11 +337,15 @@ | ||
| 337 | this.$set(this, 'swipers', datas.banner); | 337 | this.$set(this, 'swipers', datas.banner); |
| 338 | } | 338 | } |
| 339 | 339 | ||
| 340 | - // 如果有优惠券,设置优惠券信息 | ||
| 341 | - if (datas.coupon && datas.coupon.length) { | 340 | + // 判断在App内再设置优惠券 |
| 341 | + if (this.isCNLive.value) { | ||
| 342 | + | ||
| 343 | + // 如果有优惠券,设置优惠券信息 | ||
| 344 | + if (datas.coupon && datas.coupon.length) { | ||
| 342 | 345 | ||
| 343 | - // 设置优惠券 | ||
| 344 | - this.$set(this, 'coupons', datas.coupon); | 346 | + // 设置优惠券 |
| 347 | + this.$set(this, 'coupons', datas.coupon); | ||
| 348 | + } | ||
| 345 | } | 349 | } |
| 346 | 350 | ||
| 347 | // 获取tabs数据 | 351 | // 获取tabs数据 |