fix:修复订单列表跳转携带参数判断
This commit is contained in:
parent
adea6ccee2
commit
e81070ae13
|
@ -225,7 +225,7 @@
|
|||
async payFunction ({ payType, isSupport }) {
|
||||
this.payType = payType
|
||||
this.show = false
|
||||
if (!this.orderNumber) {
|
||||
if (!this.getQueryString('orderNumber')) {
|
||||
let orderInfo = await this.createdOrder(payType);
|
||||
if (orderInfo.pay_status == 2 || [1, 2].includes(orderInfo.channel)) {//pay_status 2已支付 channel 1 支付宝 2微信
|
||||
let orderNumber = orderInfo.pay_status == 2 ? orderInfo.order_number : orderInfo.original_order_number;
|
||||
|
|
Loading…
Reference in New Issue