1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00
This commit is contained in:
zxj96
2019-04-17 10:48:44 +08:00
committed by Daniel Pan
parent b83197e2b0
commit 8d5b16505f
11 changed files with 115 additions and 6 deletions

View File

@@ -67,7 +67,8 @@ class TreeNodeView extends React.Component {
this.props.onNodeClick(this.props.node);
}
onLoadToggle = () => {
onLoadToggle = (e) => {
e.stopPropagation();
let { node } = this.props;
if (node.isExpanded) {
this.props.onNodeCollapse(node);