fix(接口定义): 模块树,检索大小写问题优化

This commit is contained in:
fit2-zhao 2021-02-26 14:19:23 +08:00
parent 7e4c7303c4
commit 10861c56df
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export default {
filterNode(value, data) { filterNode(value, data) {
if (!value) return true; if (!value) return true;
if (data.label) { if (data.label) {
return data.label.indexOf(value) !== -1; return data.label.indexOf(value.toLowerCase()) !== -1;
} }
return false; return false;
}, },