@@ -406,7 +406,7 @@ export default {
},
coupon() {
// 如果没有电子券的话,提示用户
- if (this.coupon.length === 0) {
+ if (this.coupons.length === 0) {
uni.showToast({
title: '暂无可使用的优惠券,请前往积分商城兑换优惠券'
})