在前端,正常调用 uni-pay 2 进行扫码支付:
this.$refs.unipay2.open({
provider: undefined,
total_fee: 1,
order_no: '1234567890',
out_trade_no: '1234567890xyz',
description: '测试‘,
type: 'recharge',
qr_code: true,
cancel_popup: false,
})