常用的js 刷新页面的方法
history.go(0);document.URL=location.href;location.assign(location);document.execCommand('Refresh');window.navigate(location);location.replace(location);//replace清空历史记录location.reload();location=location;