diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 0726756..9053f07 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -25,7 +25,7 @@ 优惠券: 满{{ item.use_min_price }}减{{ item.coupon_price }} + :key="couponListEq">满{{ item.useMinPrice }}减{{ item.couponPrice }} @@ -312,7 +312,8 @@ let url = handleQrCode(); if (!url) { url = handleUrlParam(getCurrentPageUrlWithArgs()) - } + } + this.coupons(); if (url && url.id) { this.id = url.id; let urlSpread = parseInt(url.spread); @@ -592,7 +593,8 @@ page: 1, limit: 20, }; - getCoupon(q).then((res) => { + getCoupon(q).then((res) => { + that.$set(that, "couponList", res.data || []); that.$set(that.coupon, "list", res.data); });