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