修改h5支付宝支付跳转页面的问题

This commit is contained in:
吴昊天 2023-02-22 15:13:15 +08:00
parent 4930ffc04b
commit b213b881c9

View File

@ -518,11 +518,17 @@
case 'ALIPAY_PAY':
//#ifdef H5
uni.hideLoading();
that.formContent = res.data.result.jsConfig;
that.$nextTick(() => {
document.getElementById('alipaysubmit').submit();
})
uni.hideLoading();
that.$util.Tips({
title: that.$t(`等待支付中`)
}, {
tab: 4,
url: goPages + '&status=0'
});
that.formContent = res.data.result.jsConfig;
setTimeout(() => {
document.getElementById('alipaysubmit').submit();
}, 1500);
//#endif
// #ifdef MP
uni.navigateTo({