function refresh(){
url = location.href;
var once = url.split("#");
console.log(once);
if (once[2] != 1) {
url += "#1";
self.location.replace(url);
window.location.reload();
}
}
setTimeout('refresh()', 3000);

posted on 2020-05-26 11:46  李留广  阅读(151)  评论(0编辑  收藏  举报