mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:08:55 +08:00
修复filter过滤失败问题
This commit is contained in:
parent
93acbc13e0
commit
8d6e8457f8
@ -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