export interface BadgeInfo { /** 是否显示为红点, 默认false */ dot?: boolean; /** 徽章颜色,默认#FF2E2E */ color?: string; } export interface Tab extends BadgeInfo { /** 标题 */ label?: string; /** 徽章数量 */ badgeCount?: number; [key: string]: any; } /** 数据列表 */ export type Tabs = Tab[]; export type { TabsProps } from './index.vue';