let url = window.location.href
if(url.indexOf("?")!=-1){
url = url.replace(/(\?|#)[^'"]*/, '');
window.history.pushState({},0,url);
}
【无标题】没一点吊意思
阅读 47
2022-03-12
let url = window.location.href
if(url.indexOf("?")!=-1){
url = url.replace(/(\?|#)[^'"]*/, '');
window.history.pushState({},0,url);
}
相关推荐
精彩评论(0)