mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Tree: fix leaf state not update bug.
This commit is contained in:
@@ -343,6 +343,7 @@ export default class Node {
|
||||
|
||||
this.doCreateChildren(children, defaultProps);
|
||||
|
||||
this.updateLeafState();
|
||||
if (callback) {
|
||||
callback.call(this, children);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user