feat: customized user home page

新增自定义的用户首页(可以每个用户都不相同)
This commit is contained in:
无木
2021-07-13 14:10:31 +08:00
parent f5e31febbd
commit 0a3683a186
9 changed files with 62 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ export function createFakeUserList() {
desc: 'manager',
password: '123456',
token: 'fakeToken1',
homePath: '/dashboard/analysis',
roles: [
{
roleName: 'Super Admin',
@@ -26,6 +27,7 @@ export function createFakeUserList() {
avatar: 'https://q1.qlogo.cn/g?b=qq&nk=339449197&s=640',
desc: 'tester',
token: 'fakeToken2',
homePath: '/dashboard/workbench',
roles: [
{
roleName: 'Tester',