Vben
2021-06-11 3b2c40bec818238bde165656dc17e885f242aa81
提交 | 用户 | age
215d8b 1 import { ErrorTypeEnum } from '/@/enums/exceptionEnum';
V 2 import { MenuModeEnum, MenuTypeEnum } from '/@/enums/menuEnum';
3
4 // Lock screen information
5 export interface LockInfo {
6   // Password required
7   pwd?: string | undefined;
8   // Is it locked?
9   isLock?: boolean;
10 }
11
12 // Error-log information
13 export interface ErrorLogInfo {
14   // Type of error
15   type: ErrorTypeEnum;
16   // Error file
17   file: string;
18   // Error name
19   name?: string;
20   // Error message
21   message: string;
22   // Error stack
23   stack?: string;
24   // Error detail
25   detail: string;
26   // Error url
27   url: string;
28   // Error time
29   time?: string;
30 }
31
32 export interface UserInfo {
33   userId: string | number;
34   username: string;
35   realName: string;
7519a0 36   avatar: string;
215d8b 37   desc?: string;
V 38 }
39
40 export interface BeforeMiniState {
41   menuCollapsed?: boolean;
42   menuSplit?: boolean;
43   menuMode?: MenuModeEnum;
44   menuType?: MenuTypeEnum;
45 }