Skip to content

Commit

Permalink
docs(Notify): fix z-index option case (#12919)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Jun 8, 2024
1 parent 1879f73 commit 31aae0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vant/src/notify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ When calling the `showNotify` and other related methods, the following options a
| type | Can be set to `primary` `success` `warning` | _NotifyType_ | `danger` |
| message | Message | _string_ | - |
| duration | Duration(ms), won't disappear if value is 0 | _number \| string_ | `3000` |
| z-index | Set the z-index to a fixed value | _number \| string_ | `2000+` |
| zIndex | Set the z-index to a fixed value | _number \| string_ | `2000+` |
| position | Position, can be set to `bottom` | _NotifyPosition_ | `top` |
| color | Message color | _string_ | `white` |
| background | Background color | _string_ | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/vant/src/notify/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Vant 中导出了以下 Notify 相关的辅助函数:
| type | 类型,可选值为 `primary` `success` `warning` | _NotifyType_ | `danger` |
| message | 展示文案,支持通过`\n`换行 | _string_ | - |
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | _number \| string_ | `3000` |
| z-index | 将组件的 z-index 层级设置为一个固定值 | _number \| string_ | `2000+` |
| zIndex | 将组件的 z-index 层级设置为一个固定值 | _number \| string_ | `2000+` |
| position | 弹出位置,可选值为 `bottom` | _NotifyPosition_ | `top` |
| color | 字体颜色 | _string_ | `white` |
| background | 背景颜色 | _string_ | - |
Expand Down

0 comments on commit 31aae0b

Please sign in to comment.