fix prop 'onLoaded' of TreeProps

set onLoaded to onLoad in order to be same as rc-tree
This commit is contained in:
babycannotsay 2019-03-28 16:20:59 +08:00 committed by GitHub
parent a83b7dc516
commit c3a6e47cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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*/