docs(statistic): api table (#587)

* docs(statistic): 完善统计数据组件的说明文档

* docs(statistic): 更新一部分统计数据组件的参数文档
This commit is contained in:
songjianet 2021-07-23 00:59:43 +08:00 committed by GitHub
parent 7ac6d1ce90
commit 407c89ea81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -11,9 +11,9 @@ basic
## Props ## Props
| Name | Type | Default | Description | | Name | Type | Default | Description |
| ----- | -------- | ----------- | ----------- | | ----- | -------- | ----------- | ------------------------ |
| label | `string` | `undefined` | | | label | `string` | `undefined` | Label of the statistics. |
| value | `string` | `undefined` | | | value | `string` | `undefined` | Statistics value. |
## Slots ## Slots
@ -22,4 +22,4 @@ basic
| default | `()` | Value slot. | | default | `()` | Value slot. |
| label | `()` | Label slot. | | label | `()` | Label slot. |
| prefix | `()` | Value prefix. | | prefix | `()` | Value prefix. |
| suffix | `()` | Valut suffix. | | suffix | `()` | Value suffix. |

View File

@ -11,9 +11,9 @@ basic
## Props ## Props
| 名称 | 类型 | 默认值 | 说明 | | 名称 | 类型 | 默认值 | 说明 |
| ----- | -------- | ----------- | ---- | | ----- | -------- | ----------- | ------------------- |
| label | `string` | `undefined` | | | label | `string` | `undefined` | 展示的 `label` 信息 |
| value | `string` | `undefined` | | | value | `string` | `undefined` | 统计数据的值 |
## Slots ## Slots