[improvement] fix coupon demo typo (#465)

This commit is contained in:
Li Chuangbo 2017-12-22 14:46:51 +13:00 committed by neverland
parent e54fa68638
commit b67c9956b2
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ export default {
return { return {
...this.coupon, ...this.coupon,
id: 3, id: 3,
avaliable: 0, available: 0,
reason: this.$t('coupon.reason') reason: this.$t('coupon.reason')
} }
}, },
@ -94,7 +94,7 @@ export default {
return { return {
...this.discountCoupon, ...this.discountCoupon,
id: 4, id: 4,
avaliable: 0, available: 0,
reason: this.$t('coupon.reason') reason: this.$t('coupon.reason')
} }
} }

View File

@ -36,14 +36,14 @@ const emptyCoupon = {
const disabledCoupon = { const disabledCoupon = {
...coupon, ...coupon,
id: 4, id: 4,
avaliable: 0, available: 0,
reason: '未满足使用门槛' reason: '未满足使用门槛'
}; };
const disabledDiscountCoupon = { const disabledDiscountCoupon = {
...discountCoupon, ...discountCoupon,
id: 5, id: 5,
avaliable: 0, available: 0,
reason: '未满足使用门槛' reason: '未满足使用门槛'
}; };