API 参考variable 模块getValue 获取枚举值本页总览getValue 获取枚举值getValue 类型: MethodDeclaration 定义位置: variable.ts 描述 获取枚举值 参数 enumId: 枚举ID 返回值:枚举值(默认: '') 参数 参数名类型描述默认值enumIdstring-- 返回值 类型: string 枚举值(默认: '') 源代码 位置: 第 697 行 public getValue(enumId: string): string { return this.idMap[enumId]?.value ?? '' } 文档生成时间:2025/7/7 12:07:07