From 9748a6dc03133c9d0dc33ff09f864ec8e6f26f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=92=E6=98=9F?= <979054461@qq.com> Date: Wed, 21 Feb 2024 16:33:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(pont-engine):=20=E4=BF=AE=E5=A4=8DObjectMap?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF=E7=94=9F=E6=88=90=E4=B8=BA?= =?UTF-8?q?defs.xxx.ObjectMap=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/pont-engine/src/compatible/standard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pont-engine/src/compatible/standard.ts b/packages/pont-engine/src/compatible/standard.ts index 75d31f3a..ae0d2ac2 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}`; }