export interface IEnumMap { /** 键 */ key: number; /** 值 */ value: string | undefined; /** 显示名称 */ displayName: string | undefined; } export interface IEnumService { /** * 根据枚举类型获取枚举显示列表 * @param type 枚举类型字符串 */ getData(type: string): IEnumMap[]; }