解决冲突

This commit is contained in:
wangshiming
2022-04-27 16:25:12 +08:00
parent a599c6f780
commit 9d544aa62e
2 changed files with 10 additions and 2 deletions

View File

@ -110,12 +110,12 @@ export class ParterLevelConfigListComponent implements OnInit {
{
text: '禁用',
click: (_record, _modal, _instance) => this.stop(_record),
iif: item => !item.stateLocked
iif: item => item.stateLocked
},
{
text: '启用',
click: (_record, _modal, _instance) => this.restart(_record),
iif: item => item.stateLocked
iif: item => !item.stateLocked
}
]
}