js刷新页面的方法 1.location.reload(): 2.location.href = location.href; 3.location.replace(location.href); 4.history.go(0); 5.document.location.reload(); 6.window.location.reload();