Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Jun 15, 2020
1 parent 88303a2 commit 4958db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mock/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit 4958db1

Please sign in to comment.