Commit 4958db1b authored by 花裤衩's avatar 花裤衩

fix typo

parent 88303a29
......@@ -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 {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment