update pages/order/detail.vue. @tap="onGoodsDetail(item.skuId)" =>@tap="onGoodsDetail(item.spuId)"

点击查看商品详情时应该跳转的是spuId

Signed-off-by: 孙正涛 <alchemy7746@163.com>
This commit is contained in:
孙正涛
2024-04-15 03:47:47 +00:00
committed by Gitee
parent a816582206
commit 73dbe70305
+1 -1
View File
@@ -71,7 +71,7 @@
<view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
<view class="order-card">
<s-goods-item
@tap="onGoodsDetail(item.skuId)"
@tap="onGoodsDetail(item.spuId)"
:img="item.picUrl"
:title="item.spuName"
:skuText="item.properties.map((property) => property.valueName).join(' ')"