刷新页面的几种方式

window.location.reload();
history.go(0);
location.reload();
location = location;
location.assign(location);
document.execCommand('Refresh');
window.navigate(location);
location.replace(location);
document.URL = location.href;
原文地址:https://www.cnblogs.com/Lulus/p/7873853.html