From d8afdecf4d99ea5162a4fc00ce1e3748ca068345 Mon Sep 17 00:00:00 2001 From: yuxiaofei9 Date: Mon, 8 Sep 2025 14:40:57 +0800 Subject: [PATCH] =?UTF-8?q?arkts1.1=E6=94=AF=E6=8C=81=E8=B0=83=E7=94=A8ark?= =?UTF-8?q?ts1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuxiaofei9 Change-Id: I8b6891f9b9fa38ca9a91ea58ddb524d633e94404 --- compiler/src/interop/src/process_import.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/src/interop/src/process_import.ts b/compiler/src/interop/src/process_import.ts index 8ca3073c3..732d2571e 100644 --- a/compiler/src/interop/src/process_import.ts +++ b/compiler/src/interop/src/process_import.ts @@ -946,9 +946,8 @@ function setComponentCollectionInfo(name: string, componentSet: IComponentSet, i function parseComponentInImportNode(originNode: ts.StructDeclaration, name: string, asComponentName: string, structDecorator: structDecoratorResult, originFile: string, isArkoala: boolean = false): void { - if (!isArkoala) { - componentCollection.customComponents.add(name); - } else { + componentCollection.customComponents.add(name); + if (isArkoala) { const filePath = originNode.getSourceFile().fileName; componentCollection.arkoalaComponents.set(name, filePath); } -- Gitee