Skip to content

Commit fd2b10b

Browse files
committed
fix(TreeTable): fix Array.prototype.concat on custom-tree-table page
1 parent 8330905 commit fd2b10b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TreeTable/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default {
6161
tmp = this.data
6262
}
6363
const func = this.evalFunc || treeToArray
64-
const args = this.evalArgs ? Array.concat([tmp, this.expandAll], this.evalArgs) : [tmp, this.expandAll]
64+
const args = this.evalArgs ? [].concat([tmp, this.expandAll], this.evalArgs) : [tmp, this.expandAll]
6565
return func.apply(null, args)
6666
}
6767
},

0 commit comments

Comments
 (0)