[improvement] Rate: size prop support string type

This commit is contained in:
陈嘉涵
2019-05-28 19:53:00 +08:00
parent 04a017136e
commit 999be8064a
9 changed files with 65 additions and 40 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ export default {
|------|------|------|------|------|
| v-model | 当前分值 | `Number` | - | - |
| count | 图标总数 | `Number` | `5` | - |
| size | 图标大小 (px) | `Number` | `20` | - |
| size | 图标大小,默认单位为`px` | `String | Number` | `20px` | - |
| gutter | 图标间距,默认单位为`px` | `String | Number` | `4px` | 2.0.0 |
| color | 选中时的颜色 | `String` | `#ffd21e` | - |
| void-color | 未选中时的颜色 | `String` | `#c7c7c7` | - |