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;