Explorar el Código

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

john.hong hace 2 años
padre
commit
2a45859a03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/pages/parkingFee/mixins/parkingFeeDetail.js

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

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