Skip to content

Commit 0596aaf

Browse files
committed
fix: DirectoryTree props expandAction doesn't work for "doubleclick" #745
1 parent 974e7c0 commit 0596aaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tree/src/TreeNode.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ const TreeNode = {
435435
onMouseleave={this.onMouseLeave}
436436
onContextmenu={this.onContextMenu}
437437
onClick={this.onSelectorClick}
438-
onDoubleclick={this.onSelectorDoubleClick}
438+
onDblclick={this.onSelectorDoubleClick}
439439
onDragstart={draggable ? this.onDragStart : noop}
440440
>
441441
{$icon}

0 commit comments

Comments
 (0)