docs: add version tip in en docs (#4262)
This commit is contained in:
+14
-14
@@ -92,20 +92,20 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Current rate | `number` | - |
|
||||
| count | Count | `number` | `5` |
|
||||
| size | Icon size| `string | number` | `20px` |
|
||||
| gutter | Icon gutter | `string | number` | `4px` |
|
||||
| color | Selected color | `string` | `#ffd21e` |
|
||||
| void-color | Void color | `string` | `#c7c7c7` |
|
||||
| icon | Selected icon | `string` | `star` |
|
||||
| void-icon | Void icon | `string` | `star-o` |
|
||||
| allow-half | Whether to allow half star | `boolean` | `false` |
|
||||
| readonly | Whether to be readonly | `boolean` | `false` |
|
||||
| disabled | Whether to disable rate | `boolean` | `false` |
|
||||
| disabled-color | Disabled color | `string` | `#bdbdbd` |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Current rate | `number` | - | - |
|
||||
| count | Count | `number` | `5` | - |
|
||||
| size | Icon size| `string | number` | `20px` | - |
|
||||
| gutter | Icon gutter | `string | number` | `4px` | - |
|
||||
| color | Selected color | `string` | `#ffd21e` | - |
|
||||
| void-color | Void color | `string` | `#c7c7c7` | - |
|
||||
| icon | Selected icon | `string` | `star` | - |
|
||||
| void-icon | Void icon | `string` | `star-o` | - |
|
||||
| allow-half | Whether to allow half star | `boolean` | `false` | - |
|
||||
| readonly | Whether to be readonly | `boolean` | `false` | - |
|
||||
| disabled | Whether to disable rate | `boolean` | `false` | - |
|
||||
| disabled-color | Disabled color | `string` | `#bdbdbd` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
| v-model | 当前分值 | `number` | - | - |
|
||||
| count | 图标总数 | `number` | `5` | - |
|
||||
| size | 图标大小,默认单位为`px` | `string | number` | `20px` | - |
|
||||
| gutter | 图标间距,默认单位为`px` | `string | number` | `4px` | 2.0.0 |
|
||||
| gutter | 图标间距,默认单位为`px` | `string | number` | `4px` | - |
|
||||
| color | 选中时的颜色 | `string` | `#ffd21e` | - |
|
||||
| void-color | 未选中时的颜色 | `string` | `#c7c7c7` | - |
|
||||
| icon | 选中时的图标名称或图片链接,可选值见 Icon 组件 | `string` | `star` | - |
|
||||
|
||||
Reference in New Issue
Block a user