Browse Source

Update index.tsx

lex 1 năm trước cách đây
mục cha
commit
bb23074b09
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/order-detail/payment/index.tsx

+ 1 - 1
src/views/order-detail/payment/index.tsx

@@ -133,7 +133,7 @@ export default defineComponent({
             orderNo: this.orderInfo.orderNo,
             payChannel: this.payType,
             // payInfo: `alipays://platformapi/startapp?saId=10000007&qrcode=${res.data.pay_info}`
-            payInfo: res.data.pay_info
+            payInfo: res.data.reqParams.body || res.data.reqParams
           }
         })
         Toast.loading({