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