12
This commit is contained in:
parent
c32869988c
commit
1263128171
@ -66,9 +66,12 @@ async function handleSubmit(e) {
|
||||
} else if (isAndroid) {
|
||||
// 针对Android设备,添加额外检查
|
||||
// 如果3秒后仍在当前页面,可能是没有自动跳转,尝试手动跳转
|
||||
if (document.getElementById('payment-form')) {
|
||||
window.location.href = `${baseURL}/payment/result?orderNo=${payUid.value}`
|
||||
}
|
||||
setTimeout(() => {
|
||||
// 检查是否仍在支付页面
|
||||
if (document.getElementById('payment-form')) {
|
||||
window.location.href = `${baseURL}/payment/result?orderNo=${payUid.value}`
|
||||
}
|
||||
}, 3000)
|
||||
}
|
||||
|
||||
setLoading(false)
|
||||
|
Loading…
Reference in New Issue
Block a user