/**
* 拉起支付
*/
const requestWxPayment = (response: any, succFn: any, errFn: any) => {
wx.requestPayment({
...response,
success: () => {
succFn();
},
fail: (err) => {
wx.showToast({
title: '取消支付',
icon: 'none',
});
console.error('pay fail', err)
errFn();
},
});
};
我也遇到了同样的问题,请问怎么解呀