fix(pay): safari 支付跳转问题处理

This commit is contained in:
woody 2025-09-24 10:42:42 +08:00
parent 9bac5ced7b
commit be1c240692
2 changed files with 6 additions and 2 deletions

View File

@ -565,7 +565,9 @@ export default {
if (navigator.userAgent.includes('MicroMessenger')) {
window.location.href = url
} else {
requestAnimationFrame(() => {
window.open(url)
})
}
})
},

View File

@ -1257,7 +1257,9 @@ export default {
if (navigator.userAgent.includes('MicroMessenger')) {
window.location.href = url
} else {
requestAnimationFrame(() => {
window.open(url)
})
}
})
},