diff --git a/components/tree/DirectoryTree.tsx b/components/tree/DirectoryTree.tsx index d63f77591c..264cdb95b2 100644 --- a/components/tree/DirectoryTree.tsx +++ b/components/tree/DirectoryTree.tsx @@ -132,7 +132,7 @@ export default class DirectoryTree extends React.Component { const { onSelect, multiple, children } = this.props; - const { expandedKeys = [], selectedKeys = [] } = this.state; + const { expandedKeys = [] } = this.state; const { node, nativeEvent } = event; const { eventKey = '' } = node.props;