diff --git a/components/tree/demo/checkbox.md b/components/tree/demo/checkbox.md index 7f611f768f..7c699550b3 100644 --- a/components/tree/demo/checkbox.md +++ b/components/tree/demo/checkbox.md @@ -9,15 +9,13 @@ ````jsx var Tree = antd.Tree; var TreeNode = Tree.TreeNode; + function handleCheck(info) { console.log('check: ', info); } -function handleSelect(info) { - console.log('select: ', info); -} React.render( - + leaf diff --git a/components/tree/index.md b/components/tree/index.md index b157fbaae4..e5b2453f84 100644 --- a/components/tree/index.md +++ b/components/tree/index.md @@ -22,7 +22,6 @@ |defaultCheckedKeys | 默认选中复选框的树节点 | String[] | [] | |defaultSelectedKeys | 默认选中的树节点 | String[] | [] | |onCheck | 点击树节点或复选框触发 | function(e:{checked:bool,node,checkedKeys,event}) | - | -|onSelect | 点击树节点触发 | function(e:{selected:bool,node,checkedKeys,event}) | - | ### TreeNode props