forked from wangziqi/gongxue-base
feat: improve admin responsive pages and teacher candidates
This commit is contained in:
@@ -484,7 +484,8 @@ export class RbacService {
|
||||
lastLoginAt: u.lastLoginAt,
|
||||
createdAt: u.createdAt,
|
||||
updatedAt: u.updatedAt,
|
||||
roles: u.roles?.map((r) => ({ id: r.id, name: r.name })) || [],
|
||||
roles: u.roles?.map((r) => ({ id: r.id, code: r.code, name: r.name })) || [],
|
||||
profile: u.profile || {},
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user