feat(Rate): count can be string

This commit is contained in:
陈嘉涵
2020-01-30 09:57:04 +08:00
parent e0cbe958a3
commit ad6087770d
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| v-model | 当前分值 | *number* | - |
| count | 图标总数 | *number* | `5` |
| count | 图标总数 | *number \| string* | `5` |
| size | 图标大小,默认单位为`px` | *number \| string* | `20px` |
| gutter | 图标间距,默认单位为`px` | *number \| string* | `4px` |
| color | 选中时的颜色 | *string* | `#ffd21e` |