Tree: fixed default-checked-keys display wrong (#13349)

* fix: 12383 Tree in lazy mode set child node 'default-checked-keys', display wrong:All nodes are fulfilled

* 添加测试

* fix code style

* update style
This commit is contained in:
dive2Pro
2018-11-13 10:31:22 +08:00
committed by hetech
parent 9738054dd4
commit d97555bdde
2 changed files with 31 additions and 0 deletions

View File

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