function urlToJson(){
var ret = {};
window.location.search.substr(1).replace(/(\w+)=(\w+)/ig, function(a, b, c){ret[b] = unescape(c);});
return ret;
};
标签:pos cap sea url ati back replace location arch
function urlToJson(){
var ret = {};
window.location.search.substr(1).replace(/(\w+)=(\w+)/ig, function(a, b, c){ret[b] = unescape(c);});
return ret;
};
标签:pos cap sea url ati back replace location arch
原文地址:https://www.cnblogs.com/likwin/p/8297340.html