junlei0829

前端js 传参时 加入以下代码

var oldurl = \'不带分享参数的原始url\'; if (location.href.indexOf(\'from\') !== -1) { history.pushState(null, null, oldurl); location.reload(); }
实测有效
这样就可以进行二次分享

分类:

技术点:

相关文章:

  • 2021-06-03
  • 2021-12-02
  • 2021-12-05
  • 2022-12-23
  • 2021-07-06
猜你喜欢
  • 2021-10-26
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
相关资源
相似解决方案