mounted() {
try{
isIOS= !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
if(fn.isIOS){
window.history.pushState({}, "title", "#");
}
}catch(e){
//TODO handle the exception
}
}
相关文章:
mounted() {
try{
isIOS= !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
if(fn.isIOS){
window.history.pushState({}, "title", "#");
}
}catch(e){
//TODO handle the exception
}
}
相关文章: