fix:【商城】店铺装修-优惠劵卡片:discountPercent 少 10.0 除数

(cherry picked from commit 2c8f1626ec3d2e7f161c39ad7b789f335bb03b5b)
This commit is contained in:
YunaiV 2025-05-01 18:25:23 +08:00 committed by dengqichen
parent 0de6e026fc
commit 88636fdfec

View File

@ -13,7 +13,7 @@ export const CouponDiscount = defineComponent({
setup(props) {
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
// 折扣
let value = coupon.discountPercent + ''
let value = coupon.discountPercent / 10 + ''
let suffix = ' 折'
// 满减
if (coupon.discountType === PromotionDiscountTypeEnum.PRICE.type) {