Javascript刷新页面的几种方法 :
- history.go(0)
- location.reload()
- location=location
- location.assign(location)
- document.execCommand('Refresh')
- window.navigate(location)
- location.replace(location)
- document.URL=location.href
本文介绍了使用Javascript进行页面刷新的多种方式,包括history.go(0)、location.reload()等方法,适用于不同场景的需求。
3077

被折叠的 条评论
为什么被折叠?



