gaoluyang
2026-06-24 c0cb161bb52ce0fbdce5c66ec391d107c75e2452
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
interface BasicOption {
  label: string;
  value: string;
}
 
type SelectOption = BasicOption;
 
type TabOption = BasicOption;
 
interface BasicUserInfo {
  /**
   * 头像
   */
  avatar: string;
  /**
   * 用户昵称
   */
  nickname: string;
  /**
   * 用户角色
   */
  roles?: string[];
  /**
   * 用户id
   */
  userId: string;
  /**
   * 用户名
   */
  username: string;
}
 
type ClassType =
  | Array<ClassType>
  | boolean
  | null
  | object
  | string
  | undefined;
 
export type { BasicOption, BasicUserInfo, ClassType, SelectOption, TabOption };