edit
This commit is contained in:
@ -288,7 +288,13 @@ export class ETCBlacklistComponent implements OnInit {
|
|||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
text: '删除',
|
text: '删除', iif: () => this.tabType === 1,
|
||||||
|
acl: { ability: ['TICKET-ETC-BLACK_LIST-deleteFreight'] },
|
||||||
|
click: item => this.deleteAction(item)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '删除', iif: () => this.tabType === 2,
|
||||||
|
acl: { ability: ['TICKET-ETC-BLACK_LIST-deleteCart'] },
|
||||||
click: item => this.deleteAction(item)
|
click: item => this.deleteAction(item)
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user