未验证 提交 baa01dae 编写于 作者: O openharmony_ci 提交者: Gitee

!6628 通用组件TextArea中接口文档与dts文件描述不一致

Merge pull request !6628 from zdk/master
......@@ -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类型) | 否 | - | 设置提示文本的当前值。 |
| controller<sup>8+</sup> | [TextAreaController](#textareacontroller8) | 否 | - | 设置TextArea控制器。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册