没错使用以下函数就能够完整的获取到路径里的你想要的参数:
function getURLParameter(name) { return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null; }

相关文章:

  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2022-12-23
  • 2021-09-09
  • 2021-12-14
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-06-26
  • 2021-06-09
  • 2022-12-23
相关资源
相似解决方案