📅  最后修改于: 2022-03-11 15:01:31.996000             🧑  作者: Mango
const getQueryParams = () => window.location.search.replace('?', '').split('&').reduce((r,e) => (r[e.split('=')[0]] = decodeURIComponent(e.split('=')[1]), r), {});