Netfan
2021-05-21 2d3d04f547046c23cdfc319a7483261b47c08e83
提交 | 用户 | 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;
36   desc?: string;
37 }
38
39 export interface BeforeMiniState {
40   menuCollapsed?: boolean;
41   menuSplit?: boolean;
42   menuMode?: MenuModeEnum;
43   menuType?: MenuTypeEnum;
44 }