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

!9275 3.1修复文档toast没有说明清楚duration的具体范围

Merge pull request !9275 from shanshurong/3.1_release
......@@ -45,7 +45,7 @@ showToast(options: ShowToastOptions): void
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------------- | ---- | ---------------------------------------- |
| message | string | 是 | 显示的文本信息。 |
| duration | number | 否 | 默认值1500ms,建议区间:1500ms-10000ms,若小于1500ms则取默认值。 |
| duration | number | 否 | 默认值1500ms,取值区间:1500ms-10000ms。若小于1500ms则取默认值,若大于10000ms则取上限值10000ms。 |
| bottom | <length> | 否 | 设置弹窗边框距离屏幕底部的位置。 |
## prompt.showDialog
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册