Skip to content

Commit

Permalink
Merge pull request #422 from alibaba/fix/mx/v1.6.2
Browse files Browse the repository at this point in the history
fix(pont-engine): 修复ObjectMap类型错误生成为defs.xxx.ObjectMap的问题
  • Loading branch information
z979054461 authored Feb 21, 2024
2 parents 80f1528 + 9748a6d commit b8ff89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pont-engine/src/compatible/standard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class StandardDataType<T = any> extends Contextable<T> {
getDefName(originName) {
let name = this.typeName;

if (this.isDefsType) {
if (this.isDefsType && this.typeName !== 'ObjectMap') {
name = originName ? `defs.${originName}.${this.typeName}` : `defs.${this.typeName}`;
}

Expand Down

0 comments on commit b8ff89c

Please sign in to comment.