首页
IT
登录
6mi
u
盘
搜
搜 索
IT
JS--刷新页面的函数
JS--刷新页面的函数
xiaoxiao
2021-12-14
22
1、location.reload(true); ---参数为true相当于F5,false不会更新
2、history.go(0); ---返回历史页面,0代表当前页面
3、location.replease(URL); ---通过指定的URL替换当前缓存在历史里的项目
转载请注明原文地址: https://ju.6miu.com/read-968889.html
专利
最新回复
(
0
)