mirror of
https://github.com/certd/certd.git
synced 2026-07-05 11:27:34 +08:00
335d175d57
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
36 lines
528 B
TypeScript
36 lines
528 B
TypeScript
interface BasicOption {
|
|
label: string;
|
|
value: string;
|
|
}
|
|
|
|
type SelectOption = BasicOption;
|
|
|
|
type TabOption = BasicOption;
|
|
|
|
interface BasicUserInfo {
|
|
/**
|
|
* 头像
|
|
*/
|
|
avatar: string;
|
|
/**
|
|
* 用户昵称
|
|
*/
|
|
realName: string;
|
|
/**
|
|
* 用户角色
|
|
*/
|
|
roles?: string[];
|
|
/**
|
|
* 用户id
|
|
*/
|
|
userId: string;
|
|
/**
|
|
* 用户名
|
|
*/
|
|
username: string;
|
|
}
|
|
|
|
type ClassType = Array<object | string> | object | string;
|
|
|
|
export type { BasicOption, BasicUserInfo, ClassType, SelectOption, TabOption };
|