mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +00:00
perf: Role detail title translate
This commit is contained in:
@@ -32,6 +32,7 @@ export default {
|
||||
role: { name: '', comment: '', users: [] },
|
||||
config: {
|
||||
titlePrefix: scope === 'org' ? vm.$t('OrgRole') : vm.$t('SystemRole'),
|
||||
getObjectName: (obj) => { return obj.display_name },
|
||||
url: `/api/v1/rbac/${scope}-roles`,
|
||||
activeMenu: 'RoleInfo',
|
||||
actions: {
|
||||
|
Reference in New Issue
Block a user