docs: fix table

This commit is contained in:
chenjiahan
2020-12-14 17:07:58 +08:00
parent 96204b350c
commit 43a7047326
10 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -91,7 +91,7 @@ export default {
### Methods
| Methods | Attribute | Return value | Description |
| --- | --- | --- | --- | --- |
| --- | --- | --- | --- |
| Notify | `options | message` | notify instance | Show notify |
| Notify.clear | - | `void` | Close notify |
| Notify.setDefaultOptions | `options` | `void` | Set default options of all notifies |
@@ -100,7 +100,7 @@ export default {
### Options
| Attribute | Description | Type | Default |
| --- | --- | --- | --- | --- |
| --- | --- | --- | --- |
| type | Can be set to `primary` `success` `warning` | _string_ | `danger` |
| message | Message | _string_ | - |
| duration | Duration(ms), won't disappear if value is 0 | _number \| string_ | `3000` |