[Improvement] CouponCell: optimize text (#1499)
This commit is contained in:
@@ -35,7 +35,7 @@ export default create({
|
||||
const { coupons } = this;
|
||||
const coupon = coupons[this.chosenCoupon];
|
||||
if (coupon) {
|
||||
return `${this.$t('reduce')}¥${(coupon.value / 100).toFixed(2)}`;
|
||||
return `-¥${(coupon.value / 100).toFixed(2)}`;
|
||||
}
|
||||
return coupons.length === 0 ? this.$t('tips') : this.$t('count', coupons.length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user