Commit 86ceb6eb by 宋冰琦

修复checksku校验问题

parent b9bf89d7
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
}) })
}else{ }else{
if(this.shopState){ if(this.shopState){
const {data} = await Order.checkSku({skuId:item.skus[0].skuId}) const {data} = await Order.checkSku({skuId:skuStatus[0].skuId})
const {goods} = data.data const {goods} = data.data
console.log(goods) console.log(goods)
uni.setStorageSync('goodsInfo', JSON.stringify({ ...goods, category })); uni.setStorageSync('goodsInfo', JSON.stringify({ ...goods, category }));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment