Commit 6de9130d by songbingqi

修复订单列表支付失败跳转异常问题

parent 65eebf14
......@@ -189,9 +189,13 @@ export default {
},
async PayNow({ id }) {
const orderInfo = await order.payOrder({ orderId: id })
const sendData = {
orderId:id,
...orderInfo.data.data
}
if (orderInfo) {
if (orderInfo && orderInfo.data.code == 200) {
await Menu.requestPayment(orderInfo.data.data);
await Menu.requestPayment(sendData);
this.getList()
}
}
......
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