const _getParams = (url) => { // 补全代码 let dealUrl = new URL(url) let params = new URLSearchParams(dealUrl.search.slice(1)) let result = {} for(let key of params.entries()){ result[key[0]] = key[1] } re...