fix typo
This commit is contained in:
parent
88303a2959
commit
4958db1bad
@ -2,7 +2,7 @@
|
||||
* @param {string} url
|
||||
* @returns {Object}
|
||||
*/
|
||||
export function param2Obj(url) {
|
||||
function param2Obj(url) {
|
||||
const search = decodeURIComponent(url.split('?')[1]).replace(/\+/g, ' ')
|
||||
if (!search) {
|
||||
return {}
|
||||
|
Loading…
Reference in New Issue
Block a user