You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
801 B

10 years ago
# Progress
10 years ago
- category: Components
10 years ago
- chinese: 进度条
10 years ago
- order: 0
10 years ago
---
展示操作的当前进度。
10 years ago
## 何时使用
10 years ago
- 需要告知用户操作的运行状态,如:进行中、已完成、已失败。
- 需要展示操作的进度时。
10 years ago
10 years ago
## 属性参数
| 参数 | 说明 | 类型 | 默认值 |
|----------|----------------|----------|--------------|
10 years ago
| percent | 百分比 | number | 0 |
10 years ago
| status | 状态,有两个值normal、exception | string | normal |
| strokeWidth | 进度条线宽度,单位是进度条画布宽度的百分比 | number | 1 |
| width | 必填,进度条画布宽度,单位px。这里没有提供height属性设置,Line型高度就是strokeWidth,Circle型高度等于width | number | null |
10 years ago