[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
@@ -114,7 +114,7 @@ export default {
|------|------|------|------|
| v-model | Current rate | `number` | - |
| rate | Target rate | `number` | `100` |
| size | Circle size | `string` | `100px` |
| size | Circle size | `string | number` | `100px` |
| color | Progress color, passing object to render gradient | `string | object` | `#1989fa` |
| layer-color | Layer color | `string` | `#fff` |
| fill | Fill color | `string` | `none` |