JavaScript 刷新页面方法

    技术2022-05-11  77

    window.history.go(0)window.location.reload()window.location.href=location.hrefwindow.location.assign(location.href)document.execCommand('Refresh')window.navigate(location.href)window.navigate("#pos");window.location.replace(location.href)window.open('自身的文件','_self')-------------location.reload(flag)flag =true 不从缓存读取=false 从缓存读取 

    最新回复(0)