var searchString = url.substring(url.indexOf('?')); const params = new URLSearchParams(searchString) const obj = Object.fromEntries(params) console.log(obj) return obj 为什么我这个通过不了
点赞

相关推荐

牛客网
牛客企业服务