Merge pull request #70 from jumpserver/bugfix_autodatatable

[Update] 修改ActionsFormatter问题
This commit is contained in:
BaiJiangJie 2020-05-29 17:24:32 +08:00 committed by GitHub
commit a90c43010d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ export default {
align: 'center',
width: '150px',
formatter: ActionsFormatter,
formatterArgs: {}
actions: this.config.actions || {}
}
break
case 'is_valid':

View File

@ -67,7 +67,7 @@ export default {
}
},
data() {
const colActions = Object.assign(this.formatterArgsDefault, this.col.formatterArgs)
const colActions = Object.assign(this.formatterArgsDefault, this.col.actions.formatterArgs)
const defaultActions = [
{
name: 'update',