获取URL参数
getURLParams('https://www.example.com/?name=John&age=30')// { name: 'John', age: '30' } Copy
getURLParams('https://www.example.com/?name=John&age=30')// { name: 'John', age: '30' }
url链接
获取URL参数
Example