From 1624904e5f5bd2e390eea38580c8f35f1a293ff7 Mon Sep 17 00:00:00 2001 From: LiAn Date: Fri, 22 Apr 2022 03:11:19 +0000 Subject: [PATCH] update zh-cn/application-dev/ui/ts-component-states-state.md. Signed-off-by: LiAn --- zh-cn/application-dev/ui/ts-component-states-state.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zh-cn/application-dev/ui/ts-component-states-state.md b/zh-cn/application-dev/ui/ts-component-states-state.md index de8b845a19..6db720203f 100644 --- a/zh-cn/application-dev/ui/ts-component-states-state.md +++ b/zh-cn/application-dev/ui/ts-component-states-state.md @@ -56,7 +56,8 @@ class Model { struct EntryComponent { build() { Column() { - MyComponent({count: 1, increaseBy: 2}) // MyComponent1 in this document MyComponent({title: {value: 'Hello, World 2'}, count: 7}) //MyComponent2 in this document + MyComponent({count: 1, increaseBy: 2}) // MyComponent1 in this document + MyComponent({title: {value: 'Hello, World 2'}, count: 7}) //MyComponent2 in this document } } } -- GitLab