docs(Notify): fix background default value (#4486)

This commit is contained in:
neverland 2019-09-18 14:27:06 +08:00 committed by GitHub
parent 31ceba6c38
commit c32e29791e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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* | - | - |

View File

@ -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* | - | - |