mirror of https://github.com/ElemeFE/element
Tree: reserve node expanding state while filtering
parent
3eb06dcb0e
commit
0cca820dac
|
@ -54,6 +54,7 @@ export default class TreeStore {
|
|||
node.visible = allHidden === false;
|
||||
}
|
||||
}
|
||||
if (!value) return;
|
||||
|
||||
if (node.visible && !node.isLeaf) node.expand();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue