docs: fix v-model api #7649

This commit is contained in:
chenjiahan
2020-11-30 22:07:21 +08:00
parent d5b64a9538
commit 5723c8a6bb
10 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ export default {
| Attribute | Description | Type | Default |
| --- | --- | --- | --- | --- |
| v-model (v-model) | Name of checked radio | _any_ | - |
| v-model | Name of checked radio | _any_ | - |
| disabled | Disable all radios | _boolean_ | `false` |
| direction `v2.5.0` | Direction, can be set to `horizontal` | _string_ | `vertical` |
| icon-size | Icon size of all radios | _number \| string_ | `20px` |
+1 -1
View File
@@ -182,7 +182,7 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| v-model (value) | 当前选中项的标识符 | _any_ | - |
| v-model | 当前选中项的标识符 | _any_ | - |
| disabled | 是否禁用所有单选框 | _boolean_ | `false` |
| direction `v2.5.0` | 排列方向,可选值为`horizontal` | _string_ | `vertical` |
| icon-size | 所有单选框的图标大小,默认单位为`px` | _number \| string_ | `20px` |