Commit f901fce2 authored by ibuler's avatar ibuler

[Update] 修改搜索trim

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