mirror of https://gitee.com/karson/fastadmin.git
修复普通搜索的BUG
parent
4b39ec52f9
commit
df5f784f5d
|
|
@ -246,7 +246,7 @@
|
|||
value = $("[name='" + name + "']:checked", that.$commonsearch).val();
|
||||
}
|
||||
} else {
|
||||
value = (typeof vObjCol.process === 'function') ? vObjCol.process(obj.val()) : (sym == 'LIKE %...%' ? obj.val().replace(/\*/g, '%') : obj.val());
|
||||
value = (vObjCol && typeof vObjCol.process === 'function') ? vObjCol.process(obj.val()) : (sym == 'LIKE %...%' ? obj.val().replace(/\*/g, '%') : obj.val());
|
||||
}
|
||||
if (removeempty && value == '' && sym.indexOf("NULL") == -1) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue