未验证 提交 e8891743 编写于 作者: 1 189******51 提交者: Gitee

IssueNo: #I7XEJ4:[新需求]: Rectify the arkts syntax of qs on monthly

Description: Rectify the arkts syntax of qs on monthly
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: N189******51 <lipeicheng5@huawei.com>
上级 ac3654ae
...@@ -77,13 +77,22 @@ MyGlobalBuilderFunction() ...@@ -77,13 +77,22 @@ MyGlobalBuilderFunction()
```ts ```ts
ABuilder( $$ : { paramA1: string, paramB1 : string } ); class ABuilderParam {
paramA1: string = ''
paramB1: string = ''
}
ABuilder($$ : ABuilderParam);
``` ```
```ts ```ts
@Builder function ABuilder($$: { paramA1: string }) { class ABuilderParam {
paramA1: string = ''
}
@Builder function ABuilder($$: ABuilderParam) {
Row() { Row() {
Text(`UseStateVarByReference: ${$$.paramA1} `) Text(`UseStateVarByReference: ${$$.paramA1} `)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册