【功能修复】订单确认页的可用优惠券数量统计
This commit is contained in:
@@ -126,7 +126,9 @@
|
|||||||
v-else
|
v-else
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
state.couponInfo.length > 0 ? state.couponInfo.length + ' 张可用' : '暂无可用优惠券'
|
state.couponInfo.length > 0
|
||||||
|
? state.couponInfo.filter((coupon) => coupon.match).length + ' 张可用'
|
||||||
|
: '暂无可用优惠券'
|
||||||
}}
|
}}
|
||||||
</text>
|
</text>
|
||||||
<text class="_icon-forward item-icon" />
|
<text class="_icon-forward item-icon" />
|
||||||
|
|||||||
Reference in New Issue
Block a user