fix(pay): safari 支付跳转问题处理
This commit is contained in:
parent
9bac5ced7b
commit
be1c240692
|
@ -565,7 +565,9 @@ export default {
|
|||
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||
window.location.href = url
|
||||
} else {
|
||||
window.open(url)
|
||||
requestAnimationFrame(() => {
|
||||
window.open(url)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -1257,7 +1257,9 @@ export default {
|
|||
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||
window.location.href = url
|
||||
} else {
|
||||
window.open(url)
|
||||
requestAnimationFrame(() => {
|
||||
window.open(url)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue