12
This commit is contained in:
parent
1263128171
commit
da43bb5429
@ -65,13 +65,9 @@ async function handleSubmit(e) {
|
||||
return
|
||||
} 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