js返回上个页面再刷新

  • window.location.href = document.referrer;
  • 先抓取到上个页面的链接 document.referrer;
posted @ 2021-08-06 17:56  盘思动  阅读(121)  评论(3编辑  收藏  举报