fix: 模块树搜索清空不起作用

This commit is contained in:
chenjianxing 2021-01-25 15:32:18 +08:00
parent 3f877ef845
commit e5ce5b740f
1 changed files with 0 additions and 6 deletions

View File

@ -137,12 +137,6 @@ export default {
return false;
},
filter(val) {
if (!val) {
val = this.filterText;
} else {
// condition filterText
this.filterText = val;
}
this.$nextTick(() => {
this.$refs.tree.filter(val);
});