From 806ca524ece17297fefb5727e6e09bfb300ca01a Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 4 Aug 2025 15:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3page=E8=A3=85=E9=A5=B0?= =?UTF-8?q?=E5=99=A8=E5=9C=A8struct=E4=B8=8A=E9=A3=98=E9=BB=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- compiler/src/pre_define.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/src/pre_define.ts b/compiler/src/pre_define.ts index 84468634e..659f618b2 100644 --- a/compiler/src/pre_define.ts +++ b/compiler/src/pre_define.ts @@ -65,12 +65,14 @@ export const DECORATOR_REUSABLE_V2: string = 'ReusableV2'; export const REUSABLE_V2_INNER_DECORATOR: string = '__ReusableV2_Inner_Decorator__'; export const REUSE_ATTRIBUTE: string = 'reuse'; +export const COMPONENT_USER_INTENTS_DECORATOR_PAGE: string = '@InsightIntentPage'; + export const COMPONENT_DECORATORS_PARAMS: Set = new Set([COMPONENT_CONSUME_DECORATOR, COMPONENT_STORAGE_PROP_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, COMPONENT_WATCH_DECORATOR]); export const INNER_COMPONENT_DECORATORS: Set = new Set([COMPONENT_DECORATOR_ENTRY, COMPONENT_DECORATOR_PREVIEW, COMPONENT_DECORATOR_COMPONENT, COMPONENT_DECORATOR_CUSTOM_DIALOG, - COMPONENT_DECORATOR_REUSEABLE, COMPONENT_DECORATOR_COMPONENT_V2, COMPONENT_DECORATOR_REUSABLE_V2]); + COMPONENT_DECORATOR_REUSEABLE, COMPONENT_DECORATOR_COMPONENT_V2, COMPONENT_DECORATOR_REUSABLE_V2, COMPONENT_USER_INTENTS_DECORATOR_PAGE]); export const INNER_COMPONENT_MEMBER_DECORATORS: Set = new Set([COMPONENT_STATE_DECORATOR, COMPONENT_PROP_DECORATOR, COMPONENT_LINK_DECORATOR, COMPONENT_STORAGE_PROP_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR, COMPONENT_PROVIDE_DECORATOR, COMPONENT_CONSUME_DECORATOR, @@ -97,7 +99,6 @@ export const COMPONENT_USER_INTENTS_DECORATOR: string = '@InsightIntentLink'; export const COMPONENT_USER_INTENTS_DECORATOR_ENTRY: string = '@InsightIntentEntry'; export const COMPONENT_USER_INTENTS_DECORATOR_FUNCTION: string = '@InsightIntentFunction'; export const COMPONENT_USER_INTENTS_DECORATOR_METHOD: string = '@InsightIntentFunctionMethod'; -export const COMPONENT_USER_INTENTS_DECORATOR_PAGE: string = '@InsightIntentPage'; export const COMPONENT_USER_INTENTS_DECORATOR_ENTITY: string = '@InsightIntentEntity'; export const COMPONENT_USER_INTENTS_DECORATOR_FORM: string = '@InsightIntentForm'; export const CHECK_COMPONENT_EXTEND_DECORATOR: string = 'Extend'; -- Gitee