feat(Notify): duration to be string

This commit is contained in:
陈嘉涵
2020-01-29 15:21:40 +08:00
parent bb5f28e10e
commit 2546ca58b8
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default {
|------|------|------|------|
| type `v2.1.6` | Can be set to `primary` `success` `warning` | *string* | `danger` |
| message | Message | *string* | - |
| duration | Duration(ms), won't disappear if value is 0 | *number* | `3000` |
| duration | Duration(ms), won't disappear if value is 0 | *number \| string* | `3000` |
| color | Message color | *string* | `#fff` | |
| background | Background color | *string* | - |
| className | Custom className | *any* | - |