Update node.js

This commit is contained in:
hetech
2018-06-04 11:05:54 +08:00
committed by GitHub
parent eaba784667
commit 34471f76e9

View File

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