Coupon issue & Staging API port revised

This commit is contained in:
Vion
2022-02-14 18:07:06 +08:00
parent b636872ecd
commit 7b1c005389
2 changed files with 4 additions and 2 deletions

View File

@@ -296,6 +296,8 @@ export default {
return this.sumPrice * ( 1 - this.curCoupon.discount );
}
} else {
this.discountAmount = 0;
this.curCoupon = {couponName:'未能使用该优惠券'};
return this.sumPrice;
}
},