url 地址:http://localhost:8080//report/report.html?report_id=xsuRbhFvr-gJGH-IVcP-Kg==&domain=dev
function getParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
console.log(getParam("report_id"))
console.log(getParam("domain"))