Эх сурвалжийг харах

如果没有电子券的话,提示用户

john.hong 2 жил өмнө
parent
commit
2a45859a03

+ 1 - 1
src/pages/parkingFee/mixins/parkingFeeDetail.js

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