diff --git a/packages/pont-engine/src/compatible/standard.ts b/packages/pont-engine/src/compatible/standard.ts index 75d31f3..ae0d2ac 100644 --- a/packages/pont-engine/src/compatible/standard.ts +++ b/packages/pont-engine/src/compatible/standard.ts @@ -192,7 +192,7 @@ export class StandardDataType extends Contextable { getDefName(originName) { let name = this.typeName; - if (this.isDefsType) { + if (this.isDefsType && this.typeName !== 'ObjectMap') { name = originName ? `defs.${originName}.${this.typeName}` : `defs.${this.typeName}`; }