Fix:5231 【商城小程序】无规格时为空,不显示null

This commit is contained in:
linxi
2026-05-11 14:48:05 +08:00
parent 9a27e2df49
commit 58d21cafda
+2 -2
View File
@@ -212,10 +212,10 @@
{{ cart.productInfo.storeName }}
</view>
<view v-if="cart.productInfo.attrInfo" class="more-t v12-secondary-dark-text v12-font-24">
{{ cart.productInfo.attrInfo.sku }}
{{ cart.productInfo.attrInfo.sku || '' }}
</view>
<view v-if="orderInfo.isDrawOrder === 1" class="more-t v12-secondary-dark-text v12-font-24">
{{ orderInfo.drawOrderInfo.prizeAttrName }}
{{ orderInfo.drawOrderInfo.prizeAttrName || '' }}
</view>
</view>
<view class="v12-justify-between v12-flex-column v12-dark-text v12-text-right">