Commit 34756d17 authored by Furybean's avatar Furybean Committed by 杨奕

Tree: fix leaf state not update bug.

parent e61ff120
...@@ -343,6 +343,7 @@ export default class Node { ...@@ -343,6 +343,7 @@ export default class Node {
this.doCreateChildren(children, defaultProps); this.doCreateChildren(children, defaultProps);
this.updateLeafState();
if (callback) { if (callback) {
callback.call(this, children); callback.call(this, children);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment