Commit 0cca820d authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Tree: reserve node expanding state while filtering

parent 3eb06dcb
......@@ -54,6 +54,7 @@ export default class TreeStore {
node.visible = allHidden === false;
}
}
if (!value) return;
if (node.visible && !node.isLeaf) node.expand();
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment