pwindy
window.history.go(-1); //返回上一页


window.history.back(-1); //返回上一页

 

window.history.back(-2); //返回上上一页


window.history.back(); //返回上一页,并且强行刷新


window.location.reload(); //刷新当前页

window.location.go(-1); //刷新上一页

 

 

参考-https://www.cnblogs.com/4AMLJW/p/luoris201910171529.html

posted on 2020-12-09 15:54  pwindy  阅读(121)  评论(0编辑  收藏  举报

分类:

技术点:

相关文章:

  • 2022-02-12
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
相关资源
相似解决方案