mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
remove blanks
This commit is contained in:
parent
8a2b3470ef
commit
f978b52ce3
@ -75,14 +75,12 @@ const getParentKey = (key, tree) => {
|
||||
return parentKey;
|
||||
};
|
||||
|
||||
|
||||
class SearchTree extends React.Component {
|
||||
state = {
|
||||
expandedKeys: [],
|
||||
searchValue: '',
|
||||
autoExpandParent: true,
|
||||
}
|
||||
|
||||
onExpand = (expandedKeys) => {
|
||||
this.setState({
|
||||
expandedKeys,
|
||||
|
Loading…
Reference in New Issue
Block a user