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` |
+1 -1
View File
@@ -128,7 +128,7 @@ export default {
### 方法
| 方法名 | 说明 | 参数 | 返回值 |
| --- | --- | --- | --- | --- |
| --- | --- | --- | --- |
| Notify | 展示提示 | `options | message` | notify 实例 |
| Notify.clear | 关闭提示 | - | `void` |
| Notify.setDefaultOptions | 修改默认配置,对所有 Notify 生效 | `options` | `void` |