Commit 5cc640cc by lepdou

url params messy code

parent 649a1fdc
......@@ -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