From 12d951953cc8a2a710067f3e8cbe76ccb4690245 Mon Sep 17 00:00:00 2001 From: wugaoliang Date: Tue, 29 Jun 2021 09:06:30 +0800 Subject: [PATCH] fix: #1812 --- components/tree/Tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tree/Tree.js b/components/tree/Tree.js index 28a47a63d..a8539b112 100644 --- a/components/tree/Tree.js +++ b/components/tree/Tree.js @@ -402,7 +402,7 @@ const Tree = (props) => { m.onClick(node, contextMenuFun.current) } else { if (m.type === 'editNode') { - editNode(node, e) + editNode(node) } if (m.type === 'addSiblingNode') { addSiblingNode(node)