press-tdesign-vue-next
Version:
二次封装 tdesign-vue-next
20 lines (19 loc) • 373 B
TypeScript
export type RoleItem = {
label: string;
value: string;
children?: Array<{
label: string;
value: string;
}>;
};
export type HeaderRoleProps = {
nodeName?: string;
gameName?: string;
roleId?: string;
loginInfo: {
head?: string;
nick?: string;
isLogin?: boolean;
};
roleList: Array<RoleItem>;
};