var getParams = function(url) { if(url === undefined || typeof(url) != 'string'){ return null; } items = url.split('?')[1].split('&'); var json = {}; for(var i=0; i<items.length; i++) { var item = items[i].split('='); json[item[0]] =
添加回答
举报
0/150
提交
取消