perf: Role detail title translate

This commit is contained in:
feng
2024-08-20 11:27:06 +08:00
committed by feng626
parent aff2e439dd
commit 932e16844e

View File

@@ -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: {