mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 14:50:35 +00:00
fix: 修复角色详情授权用户不能删除问题
This commit is contained in:
parent
4bae678f69
commit
cb6139c736
@ -70,7 +70,7 @@ export default {
|
||||
hasUpdate: false,
|
||||
hasClone: false,
|
||||
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