Search text & Fix select servers

This commit is contained in:
zhandouxiaojiji committed 2021-03-15 11:36:59 +08:00
1 parent 1194e5e701
commit dbc3b2099a
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -152,7 +152,7 @@ class FileDataNode {
for (let i = this.children.length - 1; i >= 0; i--) {
const child = this.children[i];
if (!child.isFolder) {
const keyStr = child.id;
const keyStr = child.text;
child.visible = keyStr.includes(keyWord);
} else {
child.visible = child.setVisible(keyWord);