## Opt - 兼容ios open
This commit is contained in:
parent
d3142faa59
commit
5db2a8476f
|
@ -566,7 +566,9 @@ export default {
|
||||||
if (navigator.userAgent.includes('MicroMessenger')) {
|
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
} else {
|
} else {
|
||||||
|
requestAnimationFrame(()=>{
|
||||||
window.open(url)
|
window.open(url)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -1277,7 +1277,9 @@ export default {
|
||||||
if (navigator.userAgent.includes('MicroMessenger')) {
|
if (navigator.userAgent.includes('MicroMessenger')) {
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
} else {
|
} else {
|
||||||
|
requestAnimationFrame(()=>{
|
||||||
window.open(url)
|
window.open(url)
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue