diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md index 9b94bc0122f5b954928d94ccf79979817d670736..85682455f63eb4d229f681bc6087cfc95b0c8ce8 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textinput.md @@ -233,7 +233,7 @@ struct TextInputExample { .maxLength(9) .showPasswordIcon(true) // 内联风格输入框 - TextInput({ placeholder: 'inline style' }) + TextInput({ text: 'inline style' }) .width(400) .height(50) .margin(20)