diff --git a/src/utils/index.js b/src/utils/index.js index 2fcbba79..46dc8f66 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -140,7 +140,8 @@ export function param2Obj(url) { decodeURIComponent(search) .replace(/"/g, '\\"') .replace(/&/g, '","') - .replace(/=/g, '":"') + + .replace(/=/g, '":"') + .replace(/\+/g, ' ') + '"}' ) }