edit
This commit is contained in:
@ -42,11 +42,13 @@ export class RoleManagementComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '编辑',
|
||||
click: item => this.roleAction(item)
|
||||
click: item => this.roleAction(item),
|
||||
iif: item => item.roleName !== '超级管理员'
|
||||
},
|
||||
{
|
||||
text: '删除',
|
||||
click: item => this.deleteAction(item)
|
||||
click: item => this.deleteAction(item),
|
||||
iif: item => item.roleName !== '超级管理员'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user