Tree: fix leaf state not update bug.

This commit is contained in:
Furybean
2016-12-02 17:42:29 +08:00
committed by 杨奕
parent e61ff12070
commit 34756d17ca

View File

@@ -343,6 +343,7 @@ export default class Node {
this.doCreateChildren(children, defaultProps);
this.updateLeafState();
if (callback) {
callback.call(this, children);
}