Browse Source

!51 update pages/order/detail.vue. @tap="onGoodsDetail(item.skuId)" =>@tap="onGoodsDetail(item.spuId)"
Merge pull request !51 from 孙正涛/N/A

芋道源码 1 năm trước cách đây
mục cha
commit
97802232a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/order/detail.vue

+ 1 - 1
pages/order/detail.vue

@@ -71,7 +71,7 @@
       <view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
       <view class="order-list" v-for="item in state.orderInfo.items" :key="item.goods_id">
         <view class="order-card">
         <view class="order-card">
           <s-goods-item
           <s-goods-item
-            @tap="onGoodsDetail(item.skuId)"
+            @tap="onGoodsDetail(item.spuId)"
             :img="item.picUrl"
             :img="item.picUrl"
             :title="item.spuName"
             :title="item.spuName"
             :skuText="item.properties.map((property) => property.valueName).join(' ')"
             :skuText="item.properties.map((property) => property.valueName).join(' ')"