Parcourir la source

添加缺少参数

sunshibo il y a 4 semaines
Parent
commit
0cda13af70
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pages/orderInfo/orderDetail.vue

+ 1 - 1
pages/orderInfo/orderDetail.vue

@@ -53,7 +53,7 @@
         <view class="info-item info-item--coupon">
           <view class="info-item-label">优惠券</view>
           <view class="info-item-value coupon-value">
-            <text v-if="priceDetail.discountRate != null && priceDetail.discountRate !== ''" class="coupon-amount">{{ priceDetail.discountRate }}折</text>
+            <text v-if="couponDisplayText !== '—'" class="coupon-amount">{{ couponDisplayText }}</text>
             <text v-else class="coupon-placeholder">—</text>
           </view>
         </view>