Commit 0fac184a authored by ibuler's avatar ibuler

[Update] 修改搜索trim

parent f901fce2
......@@ -608,8 +608,9 @@ jumpserver.initServerSideDataTable = function (options) {
var kv = val.split(":");
if (kv.length === 2) {
var value = kv[1];
value = value.replace("+", " ");
search_attr[kv[0]] = value.trim()
var key = kv[0].trim();
value = value.replace("+", " ").trim();
search_attr[key] = value
} else {
search_raw.push(kv)
}
......
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