File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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* | - | - |
Original file line number Diff line number Diff 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* | - | - |
You can’t perform that action at this time.
0 commit comments