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