Update node.js

This commit is contained in:
wangjingf
2018-05-31 14:55:57 +08:00
committed by GitHub
parent 612f952804
commit 07af6acf6f

View File

@@ -111,7 +111,7 @@ export default class Node {
} else if (this.level > 0 && store.lazy && store.defaultExpandAll) {
this.expand();
}
if (!Array.isArray(data)) {
if (!Array.isArray(this.data)) {
markNodeData(this, this.data);
}
if (!this.data) return;