Merge pull request #5374 from dataease/pr@dev@fix_ds_filter

fix(数据源): 模糊搜索未忽略大小写
This commit is contained in:
fit2cloud-chenyw 2023-05-31 14:21:42 +08:00 committed by GitHub
commit 6df9c1e2d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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