We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Array.prototype.concat
1 parent 8330905 commit fd2b10bCopy full SHA for fd2b10b
src/components/TreeTable/index.vue
@@ -61,7 +61,7 @@ export default {
61
tmp = this.data
62
}
63
const func = this.evalFunc || treeToArray
64
- 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]
65
return func.apply(null, args)
66
67
},
0 commit comments