Skip to content

Commit c32e297

Browse files
authored
docs(Notify): fix background default value (youzan#4486)
1 parent 31ceba6 commit c32e297

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/notify/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ export default {
6868

6969
| Attribute | Description | Type | Default | Version |
7070
|------|------|------|------|------|
71-
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | - |
71+
| type | Can be set to `primary` `info` `warning` | *string* | `danger` | 2.1.6 |
7272
| message | Message | *string* | - | - |
7373
| duration | Duration(ms), won't disappear if value is 0 | *number* | `3000` | - |
7474
| color | Message color | *string* | `#fff` | | - |
75-
| background | Background color | *string* | `#ee0a24` | - |
75+
| background | Background color | *string* | - | - |
7676
| className | Custom className | *any* | - | - |
7777
| onClick | Callback function after click | *Function* | - | - |
7878
| onOpened | Callback function after opened | *Function* | - | - |

src/notify/README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383
| message | 展示文案,支持通过`\n`换行 | *string* | - | - |
8484
| duration | 展示时长(ms),值为 0 时,notify 不会消失 | *number* | `3000` | - |
8585
| color | 字体颜色 | *string* | `#fff` | - |
86-
| background | 背景颜色 | *string* | `#ee0a24` | - |
86+
| background | 背景颜色 | *string* | - | - |
8787
| className | 自定义类名 | *any* | - | - |
8888
| onClick | 点击时的回调函数 | *Function* | - | - |
8989
| onOpened | 完全展示后的回调函数 | *Function* | - | - |

0 commit comments

Comments
 (0)