diff --git a/pages/order/confirm.vue b/pages/order/confirm.vue index 6c49bb1e..b7e814f8 100644 --- a/pages/order/confirm.vue +++ b/pages/order/confirm.vue @@ -126,7 +126,9 @@ v-else > {{ - state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '暂无可用优惠券' + state.couponInfo.length > 0 + ? state.couponInfo.filter((coupon) => coupon.match).length + ' 张可用' + : '暂无可用优惠券' }}