刷新页面的几种方式

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;

你可能感兴趣的:(刷新页面的几种方式)