mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-16 22:07:21 +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',
|
align: 'center',
|
||||||
width: '150px',
|
width: '150px',
|
||||||
formatter: ActionsFormatter,
|
formatter: ActionsFormatter,
|
||||||
formatterArgs: {}
|
actions: this.config.actions || {}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case 'is_valid':
|
case 'is_valid':
|
||||||
|
@ -67,7 +67,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const colActions = Object.assign(this.formatterArgsDefault, this.col.formatterArgs)
|
const colActions = Object.assign(this.formatterArgsDefault, this.col.actions.formatterArgs)
|
||||||
const defaultActions = [
|
const defaultActions = [
|
||||||
{
|
{
|
||||||
name: 'update',
|
name: 'update',
|
||||||
|
Loading…
Reference in New Issue
Block a user