Commit b9bf89d7 by 宋冰琦

修复checksku校验问题

parent c85fc765
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
}, },
async cart(item, category){ async cart(item, category){
console.log(item,category) console.log(item,category)
const skuStatus = item.skus.filter(item=>{return Number(item.state)===1}) const skuStatus = item.skus.filter(item=>{return (Number(item.state)===1&&item.isDelete === 0)})
if(skuStatus.length===0){ if(skuStatus.length===0){
this.showToast({ this.showToast({
......
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