diff --git a/zh-cn/application-dev/ui/ts-component-based-styles.md b/zh-cn/application-dev/ui/ts-component-based-styles.md index 7bf23b92d5ad1c7b4176c1bc4d6206e39c97d310..c655aaa5e925637bfc945f992e7fa1867d200c3a 100644 --- a/zh-cn/application-dev/ui/ts-component-based-styles.md +++ b/zh-cn/application-dev/ui/ts-component-based-styles.md @@ -48,7 +48,7 @@ struct FancyUse { @Entry @Component struct FancyUse { - @Styles function componentFancy() { + @Styles componentFancy() { .width(50) .height(50) }