Merge branch 'master' of github.com:ant-design/ant-design

This commit is contained in:
afc163 2015-06-18 11:58:38 +08:00
commit 85a9cfda5a

View File

@ -10,14 +10,23 @@
## 何时使用
- 需要告知用户操作的运行状态,如:进行中、已完成、已失败。
- 需要展示操作的进度时。
> 在操作需要很长时间才能完成时,为用户显示该操作的当前进度和状态。
#### 什么时候使用
* 当一个操作会打断当前界面或者需要在后台运行且耗时会超过2秒时
* 当需要显示一个操作大致完成的百分比时。
#### 为什么使用
* 告知用户当前操作处理进度;
* 告知用户系统运行状态是否正常。
## 属性参数
| 参数 | 说明 | 类型 | 默认值 |
|----------|----------------|----------|--------------|
| percent | 百分比 | number | 0 |
|----------|---------------|----------|-------------|
| percent | 百分比 | number | 0 |
| status | 状态有两个值normal、exception | string | normal |
| strokeWidth | 进度条线宽度,单位是进度条画布宽度的百分比 | number | 1 |
| width | 必填进度条画布宽度单位px。这里没有提供height属性设置Line型高度就是strokeWidthCircle型高度等于width | number | null |