https://www.cnblogs.com/accordion/p/5699372.html

history.replaceState(history.state, null, "http://127.0.0.1/public/reg-phone.html?source=privacy")

在点击跳转时将当前地址,替换成 "http://127.0.0.1/public/reg-phone.html?source=privacy",

这样返回时,根据链接后的参数变化来判断页面是否是跳转后返回。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2021-06-03
  • 2021-05-21
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-12-19
  • 2021-05-17
  • 2021-11-18
相关资源
相似解决方案