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

3
types/store.d.ts vendored
View File

@@ -1,5 +1,6 @@
import { ErrorTypeEnum } from '/@/enums/exceptionEnum';
import { MenuModeEnum, MenuTypeEnum } from '/@/enums/menuEnum';
import { RoleInfo } from '/@/api/sys/model/userModel';
// Lock screen information
export interface LockInfo {
@@ -35,6 +36,8 @@ export interface UserInfo {
realName: string;
avatar: string;
desc?: string;
homePath?: string;
roles: RoleInfo[];
}
export interface BeforeMiniState {