feat(Progress): percantage can be string

This commit is contained in:
陈嘉涵
2020-01-29 15:46:36 +08:00
parent cd3cc07254
commit 72fbbc3b15
3 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -64,12 +64,12 @@ Vue.use(Progress);
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| inactive | 是否置灰 | *boolean* | `false` |
| percentage | 进度百分比 | *number* | `0` |
| percentage | 进度百分比 | *number \| string* | `0` |
| stroke-width `v2.2.1` | 进度条粗细,默认单位为`px` | *number \| string* | `4px` |
| show-pivot | 是否显示进度文字 | *boolean* | `true` |
| color | 进度条颜色 | *string* | `#1989fa` |
| text-color | 进度文字颜色 | *string* | `#fff` |
| track-color `v2.2.9` | 轨道颜色 | *string* | `#e5e5e5` |
| pivot-text | 文字显示 | *string* | 百分比文字 |
| pivot-color | 文字背景色 | *string* | 进度条颜色一致 |
| pivot-text | 进度文字内容 | *string* | 百分比 |
| pivot-color | 进度文字背景色 | *string* | 进度条颜色 |
| text-color | 进度文字颜色 | *string* | `#fff` |
| inactive | 是否置灰 | *boolean* | `false` |
| show-pivot | 是否显示进度文字 | *boolean* | `true` |