fix(TreeTable): fix `Array.prototype.concat` on custom-tree-table page
This commit is contained in:
parent
8330905683
commit
fd2b10b245
|
@ -61,7 +61,7 @@ export default {
|
|||
tmp = this.data
|
||||
}
|
||||
const func = this.evalFunc || treeToArray
|
||||
const args = this.evalArgs ? Array.concat([tmp, this.expandAll], this.evalArgs) : [tmp, this.expandAll]
|
||||
const args = this.evalArgs ? [].concat([tmp, this.expandAll], this.evalArgs) : [tmp, this.expandAll]
|
||||
return func.apply(null, args)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue