Commit ee082d7f authored by Damon's avatar Damon

feat: 选择配件后返回

parent ac2997fe
......@@ -231,11 +231,14 @@ export default {
const lists = this.lists.filter(v => !v.disabled).map(v => {
return {
part_id: v.skuId,
name: v.name,
quantity: v.quantity
}
})
console.log("lists", lists)
console.log('submit')
let pages = getCurrentPages();
let prevPage = pages[pages.length - 2]; //上一个页面
prevPage.$vm.updateParts(lists)
this.$u.route({ type: 'back' })
}
},
};
......
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