JavaScript写一个方法把URL解析成对象粗略的写了一个function parseQueryString(url) {var json = {}var arr = url.substr(url.indexOf('?') + 1).split('&am2023-04-13JavaScript270