mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
Merge pull request #70 from jumpserver/bugfix_autodatatable
[Update] 修改ActionsFormatter问题
This commit is contained in:
commit
a90c43010d
@ -53,7 +53,7 @@ export default {
|
||||
align: 'center',
|
||||
width: '150px',
|
||||
formatter: ActionsFormatter,
|
||||
formatterArgs: {}
|
||||
actions: this.config.actions || {}
|
||||
}
|
||||
break
|
||||
case 'is_valid':
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user