摘要: function urlToJson(){ var ret = {}; window.location.search.substr(1).replace(/(\w+)=(\w+)/ig, function(a, b, c){ret[b] = unescape(c);}); return ret;}; 阅读全文
posted @ 2018-01-16 16:31 likwin 阅读(101) 评论(0) 推荐(0) 编辑