refactor: 用例模板禁止删除用例等级
This commit is contained in:
parent
2f310e9258
commit
2589294bf2
|
@ -84,7 +84,13 @@ export default {
|
|||
operators: [
|
||||
{
|
||||
tip: this.$t('commons.delete'), icon: "el-icon-delete", type: "danger",
|
||||
exec: this.handleDelete
|
||||
exec: this.handleDelete,
|
||||
isDisable: (row) => {
|
||||
if (row.name === '用例等级') {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue