总结js中刷新页面的方式
-
history.go(0)
-
location.reload()
-
location=location
-
location.assign(location)
-
document.execCommand('Refresh')
-
window.navigate(location)
-
location.replace(location)
history.go(0)
location.reload()
location=location
location.assign(location)
document.execCommand('Refresh')
window.navigate(location)
location.replace(location)