刷新页面的几种方式

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;
posted @ 2017-11-21 16:29  Lulus  阅读(404)  评论(0编辑  收藏  举报