Fix:5689 【礼品集采中心小程序】【我的订单-联系商家】向商家发送图片时,页面图片显示为纯白色

This commit is contained in:
linxi
2026-08-12 10:50:10 +08:00
parent b636cd905b
commit c6ef03434e
+4 -4
View File
@@ -900,14 +900,14 @@ export default {
handleLoginFailure() handleLoginFailure()
return return
} }
console.log(this.storeInfo); console.log(this.attr);
const params = { const params = {
goodsId: this.id, goodsId: this.id,
goodsName: this.attr.productSelect.store_name, goodsName: this.attr.productSelect.store_name,
skuStr: this.attrValue, skuStr: this.attrValue,
price: this.attr.productSelect.price, price: this.attr.productSelect.price,
seckillId: this.activityId, seckillId: this.activityId,
cover: this.attr.productSelect.image, cover: this.attr.productSelect.image || this.storeInfo.image,
goodsData: '', goodsData: '',
seckillData: '', seckillData: '',
isNegotiable: this.storeInfo.isNegotiable isNegotiable: this.storeInfo.isNegotiable
@@ -1276,7 +1276,7 @@ export default {
'store_name', 'store_name',
this.storeInfo.storeName this.storeInfo.storeName
) )
this.$set(this.attr.productSelect, 'image', productSelect.image) this.$set(this.attr.productSelect, 'image', productSelect.image || this.storeInfo.image)
this.$set(this.attr.productSelect, 'price', productSelect.price) this.$set(this.attr.productSelect, 'price', productSelect.price)
this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice) this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice)
this.$set(this.attr.productSelect, 'stock', productSelect.stock) this.$set(this.attr.productSelect, 'stock', productSelect.stock)
@@ -1403,7 +1403,7 @@ export default {
subItem.check = true subItem.check = true
} }
}) })
this.$set(this.attr.productSelect, 'image', productSelect.image) this.$set(this.attr.productSelect, 'image', productSelect.image || this.storeInfo.image)
this.$set(this.attr.productSelect, 'price', productSelect.price) this.$set(this.attr.productSelect, 'price', productSelect.price)
this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice) this.$set(this.attr.productSelect, 'otPrice', productSelect.otPrice)
this.$set(this.attr.productSelect, 'stock', productSelect.stock) this.$set(this.attr.productSelect, 'stock', productSelect.stock)