From c1dfc313c5d86b9bb887fbcb53dc8b6e8cd4f05e Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Fri, 14 Jan 2022 14:47:50 +0800 Subject: [PATCH] houhaoyu@huawei.com correct storagelink->regular Signed-off-by: houhaoyu Change-Id: Id2fd382f49492b53ea6d5f63014b0c46c00bd2ee --- compiler/src/process_custom_component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/process_custom_component.ts b/compiler/src/process_custom_component.ts index 163e8cbb3..05b107db5 100644 --- a/compiler/src/process_custom_component.ts +++ b/compiler/src/process_custom_component.ts @@ -244,7 +244,7 @@ function isCorrectInitFormParent(parent: string, child: string): boolean { break; case COMPONENT_NON_DECORATOR: if ([COMPONENT_STATE_DECORATOR, ...propAndLinkDecorators, COMPONENT_NON_DECORATOR, - COMPONENT_OBJECT_LINK_DECORATOR].includes(parent)) { + COMPONENT_OBJECT_LINK_DECORATOR, COMPONENT_STORAGE_LINK_DECORATOR].includes(parent)) { return true; } break; -- Gitee