diff --git a/arkui-plugins/ui-plugins/interop/interop.ts b/arkui-plugins/ui-plugins/interop/interop.ts index 5230039d7f9e9621af3ebb6cb4027b36a9820c07..8da4bc6d59e6567f8d924e9ead065ab5a57c86dc 100644 --- a/arkui-plugins/ui-plugins/interop/interop.ts +++ b/arkui-plugins/ui-plugins/interop/interop.ts @@ -119,9 +119,9 @@ function newComponent(className: string): arkts.Statement { arkts.factory.createETSNewClassInstanceExpression( arkts.factory.createIdentifier(className), [ - generateTSASExpression(getWrapValue(arkts.factory.createUndefinedLiteral())), + arkts.factory.createUndefinedLiteral(), generateTSASExpression(arkts.factory.createIdentifier(InteroperAbilityNames.PARAM)), - generateTSASExpression(getWrapValue(arkts.factory.createUndefinedLiteral())), + arkts.factory.createUndefinedLiteral(), generateTSASExpression(arkts.factory.createIdentifier(InteroperAbilityNames.ELMTID)), arkts.factory.createTSAsExpression( arkts.factory.createArrowFunction(