const search = new URLSearchParams(location.search)
const searchParams = {} as {
[key in string]: string
};
// console.log(search, "我是search",searchParams);
search.forEach((value, key) => {
searchParams[key] = value;
})
...searchParams 给接口传输过去