mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 06:19:51 +00:00
fix: 修复用户详情角色显示bug
This commit is contained in:
@@ -228,7 +228,12 @@ export default {
|
||||
},
|
||||
{
|
||||
key: this.$t('users.Role'),
|
||||
value: this.object.total_role_display
|
||||
formatter: (item, val) => {
|
||||
const org_roles_display = this.object.org_roles_display
|
||||
const system_roles_display = this.object.system_roles_display
|
||||
const roles_display = org_roles_display.split(', ').concat(system_roles_display.split(', '))
|
||||
return <span> { roles_display.join(' | ') } </span>
|
||||
}
|
||||
},
|
||||
{
|
||||
key: this.$t('users.MFA'),
|
||||
|
Reference in New Issue
Block a user