mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Merge pull request #11430 from wangjingf/dev
Tree : mark node data in lazy mode (#10684)
This commit is contained in:
commit
96df89eca8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user