forked from github/dataease
Merge pull request #5374 from dataease/pr@dev@fix_ds_filter
fix(数据源): 模糊搜索未忽略大小写
This commit is contained in:
commit
6df9c1e2d3
@ -477,7 +477,7 @@ export default {
|
||||
},
|
||||
filterNode(value, data) {
|
||||
if (!value) return true
|
||||
return data.name.indexOf(value) !== -1
|
||||
return data?.name?.toLowerCase().includes(value.toLowerCase())
|
||||
},
|
||||
showSearchWidget() {
|
||||
this.showSearchInput = true
|
||||
|
Loading…
Reference in New Issue
Block a user