From c6ef03434ecf5335d23d544edf76d3cc1c6a63a5 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Wed, 12 Aug 2026 10:50:10 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A5689=20=E3=80=90=E7=A4=BC=E5=93=81?= =?UTF-8?q?=E9=9B=86=E9=87=87=E4=B8=AD=E5=BF=83=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E3=80=91=E3=80=90=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95-?= =?UTF-8?q?=E8=81=94=E7=B3=BB=E5=95=86=E5=AE=B6=E3=80=91=E5=90=91=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E5=8F=91=E9=80=81=E5=9B=BE=E7=89=87=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=9B=BE=E7=89=87=E6=98=BE=E7=A4=BA=E4=B8=BA?= =?UTF-8?q?=E7=BA=AF=E7=99=BD=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodsCon/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index b2bd15f..afb8657 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -900,14 +900,14 @@ export default { handleLoginFailure() return } - console.log(this.storeInfo); + console.log(this.attr); const params = { goodsId: this.id, goodsName: this.attr.productSelect.store_name, skuStr: this.attrValue, price: this.attr.productSelect.price, seckillId: this.activityId, - cover: this.attr.productSelect.image, + cover: this.attr.productSelect.image || this.storeInfo.image, goodsData: '', seckillData: '', isNegotiable: this.storeInfo.isNegotiable @@ -1276,7 +1276,7 @@ export default { 'store_name', 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, 'otPrice', productSelect.otPrice) this.$set(this.attr.productSelect, 'stock', productSelect.stock) @@ -1403,7 +1403,7 @@ export default { 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, 'otPrice', productSelect.otPrice) this.$set(this.attr.productSelect, 'stock', productSelect.stock)