提交
This commit is contained in:
@@ -1084,7 +1084,7 @@
|
||||
},
|
||||
onHandleClickBuy(e) {
|
||||
var mynavData = JSON.stringify({
|
||||
goods: [this.selectGoodsData],
|
||||
goods: [{...this.selectGoodsData,productAmount:1}],
|
||||
typeId: 0,
|
||||
navTitle: this.course.title,
|
||||
title: this.course.title,
|
||||
|
||||
@@ -281,6 +281,9 @@ export default {
|
||||
this.goodsDataList = res.productList.filter(
|
||||
(e) => this.options.goods[0].productName == e.productName
|
||||
);
|
||||
this.goodsDataList.map(e=>{
|
||||
e.productAmount=e.productAmount?e.productAmount:1
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user