标签:elf ref split ati sel url set self location
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);
标签:elf ref split ati sel url set self location
原文地址:https://www.cnblogs.com/liliuguang/p/12964590.html