fix: 模块树搜索清空不起作用
This commit is contained in:
parent
3f877ef845
commit
e5ce5b740f
|
@ -137,12 +137,6 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
filter(val) {
|
filter(val) {
|
||||||
if (!val) {
|
|
||||||
val = this.filterText;
|
|
||||||
} else {
|
|
||||||
// 记录condition 的 filterText
|
|
||||||
this.filterText = val;
|
|
||||||
}
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.tree.filter(val);
|
this.$refs.tree.filter(val);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue