From 5dfa496998644475ff377df28d62a9ab4fc93988 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 27 Apr 2025 21:52:27 +0800 Subject: [PATCH] =?UTF-8?q?sync=EF=BC=9A=E8=8E=B7=E5=8F=96=E5=95=86?= =?UTF-8?q?=E5=93=81=E5=9B=BE=E7=89=87=E5=AE=9E=E6=97=B6=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=9D=A1=E4=BB=B6=E4=BF=AE=E6=94=B9=20https:?= =?UTF-8?q?//gitee.com/sheepjs/shopro-uniapp/commit/4ac6f6c0d3af55b73c49f1?= =?UTF-8?q?787565336c2c987c84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/components/s-goods-column/s-goods-column.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/components/s-goods-column/s-goods-column.vue b/sheep/components/s-goods-column/s-goods-column.vue index 0811b1d1..272c13ca 100644 --- a/sheep/components/s-goods-column/s-goods-column.vue +++ b/sheep/components/s-goods-column/s-goods-column.vue @@ -683,7 +683,7 @@ const goodsPriceCard = data[0]; defaultImgWidth.value = data[0].width; - if (props.data.image_wh) { + if (props.data.image_wh && Number(props.data.image_wh.w)) { totalHeight = (goodsPriceCard.width / props.data.image_wh.w) * props.data.image_wh.h + goodsPriceCard.height;