mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
fix prop 'onLoaded' of TreeProps
set onLoaded to onLoad in order to be same as rc-tree
This commit is contained in:
parent
a83b7dc516
commit
c3a6e47cc3
@ -128,7 +128,7 @@ export interface TreeProps {
|
||||
/** 异步加载数据 */
|
||||
loadData?: (node: AntTreeNode) => PromiseLike<any>;
|
||||
loadedKeys?: string[];
|
||||
onLoaded?: (loadedKeys: string[], info: { event: 'load'; node: AntTreeNode }) => void;
|
||||
onLoad?: (loadedKeys: string[], info: { event: 'load'; node: AntTreeNode }) => void;
|
||||
/** 响应右键点击 */
|
||||
onRightClick?: (options: AntTreeNodeMouseEvent) => void;
|
||||
/** 设置节点可拖拽(IE>8)*/
|
||||
|
Loading…
Reference in New Issue
Block a user