mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-08 20:27:19 +08:00
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…
x
Reference in New Issue
Block a user