From c32e29791ea23e0cf0345056757fd1dbfbfaf0dd Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 18 Sep 2019 14:27:06 +0800 Subject: [PATCH] docs(Notify): fix background default value (#4486) --- src/notify/README.md | 4 ++-- src/notify/README.zh-CN.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notify/README.md b/src/notify/README.md index 29bc06377..daf20ed92 100644 --- a/src/notify/README.md +++ b/src/notify/README.md @@ -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* | - | - | diff --git a/src/notify/README.zh-CN.md b/src/notify/README.zh-CN.md index 59f685106..b96157697 100644 --- a/src/notify/README.zh-CN.md +++ b/src/notify/README.zh-CN.md @@ -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* | - | - |