mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
修复filter过滤失败问题
This commit is contained in:
parent
bd2e8f1b35
commit
6283b48a47
@ -232,7 +232,7 @@ export const filters: {
|
||||
arg1 = expOrDirective;
|
||||
}
|
||||
arg1 = arg1 ? (/^('|")(.*)\1$/.test(arg1) ? RegExp.$2 : resolveVariable(arg1, this as any)) : '';
|
||||
fn = value => !!~String(value.toLowerCase()).indexOf(arg1);
|
||||
fn = value => !!~String(value).toLowerCase().indexOf(arg1);
|
||||
}
|
||||
|
||||
keys = keys.split(/\s*,\s*/);
|
||||
|
Loading…
Reference in New Issue
Block a user