//js方法用来获取路径传参上所带的参数
function GetQueryString(param) {
var reg = new RegExp("(^|&)" + param + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return r[2];
}
return null;
}
2022-11-20 19:12:51
function GetQueryString(param) {
var reg = new RegExp("(^|&)" + param + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return r[2];
}
return null;
}