forked from angelo/web-retail-h5
fix(hiPay): safari 浏览器跳转问题修复
This commit is contained in:
parent
e4d820f6f2
commit
6faade6be6
|
@ -565,7 +565,9 @@ export default {
|
|||
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||
window.location.href = url
|
||||
} else {
|
||||
requestAnimationFrame(() => {
|
||||
window.open(url)
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue