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