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
}
}
转载于:https://www.cnblogs.com/lymconch/p/11322108.html
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
}
}
转载于:https://www.cnblogs.com/lymconch/p/11322108.html