Update node.js

pull/11430/head
hetech 2018-06-04 11:05:54 +08:00 committed by GitHub
parent eaba784667
commit 34471f76e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;