getParams () {
var url = location.search;
var theRequest = new Object();
if(url.indexOf("?") != -1){
var str = url.substr(1);
var strs = str.split("&");
for(var i = 0;i < strs.length;i++) {
theRequest[ strs[i].split("=")[0] ] = (strs[i].split("=")[1]);
}
}
this.identification_code=theRequest.identification_code;
}
前端页面跳转参数接收
最新推荐文章于 2023-12-22 09:51:50 发布