improve: 支付宝支付

This commit is contained in:
From-wh 2023-02-18 17:43:35 +08:00
parent e3b08cbd71
commit f25d936c4d
2 changed files with 717 additions and 728 deletions

View File

@ -505,17 +505,11 @@
case 'ALIPAY_PAY':
//#ifdef H5
if (this.from === 'weixin') {
uni.redirectTo({
url: `/pages/users/alipay_invoke/index?id=${orderId}&pay_key=${res.data.result.pay_key}`
});
} else {
uni.hideLoading();
that.formContent = res.data.result.jsConfig;
that.$nextTick(() => {
document.getElementById('alipaysubmit').submit();
})
}
uni.hideLoading();
that.formContent = res.data.result.jsConfig;
that.$nextTick(() => {
document.getElementById('alipaysubmit').submit();
})
//#endif
// #ifdef MP
uni.navigateTo({

File diff suppressed because it is too large Load Diff