docs: fix format errors (#8919)

* docs: fix format errors

* docs: fix format errors
This commit is contained in:
踏学吾痕
2021-06-24 09:49:08 +08:00
committed by GitHub
parent 4f0ca629b2
commit ac3c5aa951
9 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -97,8 +97,8 @@ export default {
### Methods
| Methods | Attribute | Return value | Description |
| --- | --- | --- | --- | --- |
| Notify | `options | message` | notify instance | Show notify |
| --- | --- | --- | --- |
| Notify | `options \| message` | notify instance | Show notify |
| Notify.clear | - | `void` | Close notify |
| Notify.setDefaultOptions | `options` | `void` | Set default options of all notifies |
| Notify.resetDefaultOptions | - | `void` | Reset default options of all notifies |
@@ -106,7 +106,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` |
+2 -2
View File
@@ -130,8 +130,8 @@ export default {
### 方法
| 方法名 | 说明 | 参数 | 返回值 |
| --- | --- | --- | --- | --- |
| Notify | 展示提示 | `options | message` | notify 实例 |
| --- | --- | --- | --- |
| Notify | 展示提示 | `options \| message` | notify 实例 |
| Notify.clear | 关闭提示 | - | `void` |
| Notify.setDefaultOptions | 修改默认配置,对所有 Notify 生效 | `options` | `void` |
| Notify.resetDefaultOptions | 重置默认配置,对所有 Notify 生效 | - | `void` |