Merge pull request #15718 from babycannotsay/master

fix prop 'onLoaded' of TreeProps
This commit is contained in:
偏右 2019-03-28 17:33:53 +08:00 committed by GitHub
commit 0c1392ce4c
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*/