diff --git a/components/tree/index.tsx b/components/tree/index.tsx index b027f2d20a..70ed6963d4 100644 --- a/components/tree/index.tsx +++ b/components/tree/index.tsx @@ -74,6 +74,7 @@ export interface TreeProps { /** 默认选中的树节点 */ defaultSelectedKeys?: string[]; /** 展开/收起节点时触发 */ + selectable?: boolean; onExpand?: ( expandedKeys: string[], info: { node: AntTreeNode; expanded: boolean; },