Commit 96df89ec authored by hetech's avatar hetech Committed by GitHub

Merge pull request #11430 from wangjingf/dev

Tree : mark node data in lazy mode (#10684)
parents eb1479d3 34471f76
......@@ -111,7 +111,9 @@ export default class Node {
} else if (this.level > 0 && store.lazy && store.defaultExpandAll) {
this.expand();
}
if (!Array.isArray(this.data)) {
markNodeData(this, this.data);
}
if (!this.data) return;
const defaultExpandedKeys = store.defaultExpandedKeys;
const key = store.key;
......
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