Tree: fix leaf state not update bug.

pull/1524/head
Furybean 2016-12-02 17:42:29 +08:00 committed by 杨奕
parent e61ff12070
commit 34756d17ca
1 changed files with 1 additions and 0 deletions

View File

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