Skip to content

Commit f092838

Browse files
author
xuqingkai
committed
docs: ✏️ 优化MessageBox和Toast文档中selector的介绍
1 parent 3f99e1b commit f092838

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/component/message-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ MessageBox.prompt(options)
229229
| inputError | 当 type 为 prompt 时,输入框检验不通过时的错误提示文案 | string | - | 输入的数据不合法 | - |
230230
| confirmButtonText | 确定按钮文案 | string | - | 确定 | - |
231231
| cancelButtonText | 取消按钮文案 | string | - | 取消 | - |
232-
| selector | 组件的 id | string | - | #wd-message-box | - |
232+
| selector | 指定唯一标识 | string | - | #wd-message-box | - |
233233
| zIndex | 弹窗层级 | number | - | 99 | - |
234234
| lazyRender | 弹层内容懒渲染,触发展示时才渲染内容 | boolean | - | true | - |
235235

docs/component/toast.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ toast.close()
115115
| zIndex | toast 层级 | number | - | 100 | - |
116116
| loadingType | [加载中图标类型](/component/loading) | string | ring | outline | - |
117117
| loadingColor | [加载中图标颜色](/component/loading) | string | - | #4D80F0 | - |
118-
| selector | 组件的 id | string | - | - | - |
118+
| selector | 指定唯一标识 | string | - | - | - |
119119
| cover | 是否存在一个透明遮罩 | boolean | - | `loading`时默认为 true | 1.2.15 |
120120
| opened | 完全展示后的回调函数 | `Function` | - | - | 1.2.15 |
121121
| closed | 完全关闭后的回调函数 | `Function` | - | - | 1.2.15 |

0 commit comments

Comments
 (0)