mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
refactor(Coupon): 修改优惠券减免显示 (#2980)
This commit is contained in:
parent
d7760cf4d0
commit
d5a2373963
@ -38,7 +38,7 @@ export default sfc({
|
||||
|
||||
faceAmount() {
|
||||
const { coupon } = this;
|
||||
if (coupon.valueDesc && coupon.unitDesc) {
|
||||
if (coupon.valueDesc) {
|
||||
return `${coupon.valueDesc}<span>${coupon.unitDesc}</span>`;
|
||||
}
|
||||
return coupon.denominations
|
||||
|
Loading…
x
Reference in New Issue
Block a user