fix: 修复homePath的路径 (#8110)
* fix: 修复homePath的路径 * fix: 单元测试数据 * chore: 单元测试快照数据 --------- Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ export const MOCK_USERS: UserInfo[] = [
|
||||
realName: 'Admin',
|
||||
roles: ['admin'],
|
||||
username: 'admin',
|
||||
homePath: '/workspace',
|
||||
homePath: '/dashboard/workspace',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
@@ -34,7 +34,7 @@ export const MOCK_USERS: UserInfo[] = [
|
||||
realName: 'Jack',
|
||||
roles: ['user'],
|
||||
username: 'jack',
|
||||
homePath: '/analytics',
|
||||
homePath: '/dashboard/analytics',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user