Skip to content

Commit 2c8f162

Browse files
committed
fix:【商城】店铺装修-优惠劵卡片:discountPercent 少 10.0 除数
1 parent 440422a commit 2c8f162

File tree

1 file changed

+1
-1
lines changed
  • src/components/DiyEditor/components/mobile/CouponCard

1 file changed

+1
-1
lines changed

src/components/DiyEditor/components/mobile/CouponCard/component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const CouponDiscount = defineComponent({
1313
setup(props) {
1414
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
1515
// 折扣
16-
let value = coupon.discountPercent + ''
16+
let value = coupon.discountPercent / 10 + ''
1717
let suffix = ' 折'
1818
// 满减
1919
if (coupon.discountType === PromotionDiscountTypeEnum.PRICE.type) {

0 commit comments

Comments
 (0)