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