处理bug
This commit is contained in:
parent
c68f833994
commit
b2200e5ccb
@ -168,10 +168,9 @@ layui.define(function(exports) {
|
||||
var kvs = item.split('=');
|
||||
if (kvs.length == 1) {
|
||||
paramsObj[kvs[0]] = null;
|
||||
continue;
|
||||
}
|
||||
if (kvs.length == 2) {
|
||||
paramsObj[kvs[0]] = decodeURI(kvs[1]);
|
||||
}
|
||||
paramsObj[kvs[0]] = decodeURI(item.replace(kvs[0] +'=', ''));
|
||||
}
|
||||
return paramsObj;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user