From 08fe94d88745b8ef300a53ca148e2f4271550078 Mon Sep 17 00:00:00 2001 From: LiAn Date: Thu, 21 Jul 2022 08:07:49 +0000 Subject: [PATCH] update zh-cn/application-dev/ui/ts-custom-component-initialization.md. Signed-off-by: LiAn --- zh-cn/application-dev/ui/ts-custom-component-initialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/ui/ts-custom-component-initialization.md b/zh-cn/application-dev/ui/ts-custom-component-initialization.md index 0e407eb84d..be7dad7e5f 100644 --- a/zh-cn/application-dev/ui/ts-custom-component-initialization.md +++ b/zh-cn/application-dev/ui/ts-custom-component-initialization.md @@ -10,7 +10,7 @@ - 在构造组件时通过构造参数初始化,例如: ``` - MyComponent(counter: $myCounter) + MyComponent({counter: $myCounter}) ``` -- GitLab