mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-08 22:57:11 +08:00
fix(profile): 修复个人中心角色信息展示错误
This commit is contained in:
@@ -12,6 +12,7 @@ export interface UserInfo {
|
||||
registrationDate: string
|
||||
deptName: string
|
||||
roles: string[]
|
||||
roleNames: string[]
|
||||
permissions: string[]
|
||||
}
|
||||
|
||||
|
@@ -47,7 +47,7 @@
|
||||
</a-descriptions-item>
|
||||
<a-descriptions-item :span="4">
|
||||
<template #label> <icon-user-group /><span style="margin-left: 5px">角色</span></template>
|
||||
{{ userInfo.roles.join(',') }}
|
||||
{{ userInfo.roleNames.join(' · ') }}
|
||||
</a-descriptions-item>
|
||||
</a-descriptions>
|
||||
</footer>
|
||||
|
Reference in New Issue
Block a user