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