fix:修复订单列表跳转携带参数判断

This commit is contained in:
Apple 2022-11-03 18:08:42 +08:00
parent adea6ccee2
commit e81070ae13
1 changed files with 1 additions and 1 deletions

View File

@ -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;