getRequestParams:function(param){
var reg = new RegExp("(^|&)" + param + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]); returnnull;
}

使用方法:
var reportName = this.getRequestParams("reportName");
console.log(reportName);

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2021-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2021-07-05
  • 2021-11-20
  • 2022-12-23
  • 2022-01-08
  • 2021-05-31
  • 2021-12-01
  • 2022-01-23
相关资源
相似解决方案