[improvement] Circle: support number type of size prop (#4160)

This commit is contained in:
neverland
2019-08-20 12:57:58 +08:00
committed by GitHub
parent b7244f8fa9
commit 112839984d
5 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ export default {
|------|------|------|------|------|
| v-model | 当前进度 | `number` | - | - |
| rate | 目标进度 | `number` | `100` | - |
| size | 圆环直径 | `string` | `100px` | - |
| size | 圆环直径,默认单位为 `px` | `string | number` | `100px` | - |
| color | 进度条颜色,传入对象格式可以定义渐变色 | `string | object` | `#1989fa` | 2.1.4 |
| layer-color | 轨道颜色 | `string` | `#fff` | - |
| fill | 填充颜色 | `string` | `none` | - |