fix(数据源): 模糊搜索未忽略大小写

This commit is contained in:
fit2cloud-chenyw 2023-05-31 14:19:48 +08:00
parent 07cd3122c3
commit 618ac675b7

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