Commit c482c4b4 by 张乐 Committed by GitHub

Merge pull request #598 from lepdou/messy_code

url params messy code
parents 649a1fdc 5cc640cc
......@@ -60,7 +60,7 @@ appUtil.service('AppUtil', ['toastr', '$window', '$q', function (toastr, $window
var result = {};
params.forEach(function (param) {
var kv = param.split("=");
result[kv[0]] = kv[1];
result[kv[0]] = decodeURIComponent(kv[1]);
});
return result;
},
......
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