fix(TreeTable): fix Array.prototype.concat
on custom-tree-table page
This commit is contained in:
@@ -61,7 +61,7 @@ export default {
|
|||||||
tmp = this.data
|
tmp = this.data
|
||||||
}
|
}
|
||||||
const func = this.evalFunc || treeToArray
|
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)
|
return func.apply(null, args)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user