diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md index 7aa32c4489a61155281f8af8c1920c55af92ce94..08b9b8066c21bafdab966196638095238e12dbc0 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-textarea.md @@ -18,12 +18,13 @@ ## 接口 -TextArea(value?:{placeholder?: string, controller?: TextAreaController}) +TextArea(value?:{placeholder?: string| Resource, text?: string| Resource, controller?: TextAreaController}) - 参数 | 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 | | ----------------------- | ---------------------------------------- | ---- | ---- | -------------- | - | placeholder | string | 否 | - | 无输入时的提示文本。 | + | placeholder | string \| [Resource](../../ui/ts-types.md#resource类型) | 否 | - | 无输入时的提示文本。 | + | text | string \| [Resource](../../ui/ts-types.md#resource类型) | 否 | - | 设置提示文本的当前值。 | | controller8+ | [TextAreaController](#textareacontroller8) | 否 | - | 设置TextArea控制器。 |