!155 correct storagelink to regular variable

Merge pull request !155 from houhaoyu/storagelink
This commit is contained in:
openharmony_ci
2022-01-17 07:00:18 +00:00
committed by Gitee
+1 -1
View File
@@ -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;