diff --git a/packages/shop/goods/index.vue b/packages/shop/goods/index.vue index efa34eac..4a9eccfd 100644 --- a/packages/shop/goods/index.vue +++ b/packages/shop/goods/index.vue @@ -18,7 +18,7 @@ - {{ currentIndex }} / {{ currentGG.goods_carousel.length }} + {{ currentIndex }} / {{ currentGG.goods_carousel ? currentGG.goods_carousel.length : 0 }} @@ -40,7 +40,7 @@ - 共{{ info.commodity_goods_info_list.length }}款 + 共{{ info.commodity_goods_info_list ? info.commodity_goods_info_list.length : 0 }}款