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