remove blanks

This commit is contained in:
afc163 2017-01-11 20:08:28 +08:00
parent 8a2b3470ef
commit f978b52ce3

View File

@ -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,