Javascript刷新页面的几种方法:location.reload()location.replace(location)history.go(0)location=locationlocation.assign(location)document.execCommand('Refresh')window.navigate(location)document.URL=location.href