mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 15:11:16 +00:00
fix: 修复角色详情授权用户不能删除问题
This commit is contained in:
parent
4bae678f69
commit
cb6139c736
@ -70,7 +70,7 @@ export default {
|
|||||||
hasUpdate: false,
|
hasUpdate: false,
|
||||||
hasClone: false,
|
hasClone: false,
|
||||||
canDelete: ({ row }) => {
|
canDelete: ({ row }) => {
|
||||||
return this.$hasPerm(`rbac.delete_${row.scope.value}rolebinding`)
|
return this.$hasPerm(`rbac.delete_${row.scope}rolebinding`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user