mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 22:49:15 +08:00
docs(Notify): fix background default value (#4486)
This commit is contained in:
parent
31ceba6c38
commit
c32e29791e
@ -68,11 +68,11 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | - |
|
||||
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | 2.1.6 |
|
||||
| message | Message | *string* | - | - |
|
||||
| duration | Duration(ms), won't disappear if value is 0 | *number* | `3000` | - |
|
||||
| color | Message color | *string* | `#fff` | | - |
|
||||
| background | Background color | *string* | `#ee0a24` | - |
|
||||
| background | Background color | *string* | - | - |
|
||||
| className | Custom className | *any* | - | - |
|
||||
| onClick | Callback function after click | *Function* | - | - |
|
||||
| onOpened | Callback function after opened | *Function* | - | - |
|
||||
|
@ -83,7 +83,7 @@ export default {
|
||||
| message | 展示文案,支持通过`\n`换行 | *string* | - | - |
|
||||
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | *number* | `3000` | - |
|
||||
| color | 字体颜色 | *string* | `#fff` | - |
|
||||
| background | 背景颜色 | *string* | `#ee0a24` | - |
|
||||
| background | 背景颜色 | *string* | - | - |
|
||||
| className | 自定义类名 | *any* | - | - |
|
||||
| onClick | 点击时的回调函数 | *Function* | - | - |
|
||||
| onOpened | 完全展示后的回调函数 | *Function* | - | - |
|
||||
|
Loading…
x
Reference in New Issue
Block a user