确认订单页面,商品列表清空处理
This commit is contained in:
parent
1dd800b854
commit
5fb9871900
|
|
@ -250,9 +250,13 @@
|
|||
break;
|
||||
case 'addCart':
|
||||
console.log("商品列表===",msg)
|
||||
this.listinfo.details = msg.data;
|
||||
this.listinfo.payAmount = msg.amount;
|
||||
|
||||
if (this.listinfoid) {
|
||||
this.orderorderInfo()
|
||||
} else {
|
||||
this.listinfo.details = msg.data;
|
||||
this.listinfo.payAmount = msg.amount;
|
||||
}
|
||||
break;
|
||||
case 'order':
|
||||
uni.navigateBack()
|
||||
|
|
@ -339,7 +343,7 @@
|
|||
})
|
||||
if (res.code == 0) {
|
||||
console.log(res)
|
||||
// this.listinfo = res.data
|
||||
this.listinfo = res.data
|
||||
if (i == 1) { //请求完了详情在去调支付
|
||||
this.showpopupclickdd()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue