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')) {
|
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
} else {
|
} else {
|
||||||
window.open(url)
|
requestAnimationFrame(() => {
|
||||||
|
window.open(url)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue