docs: fix incorrect word (#4467)

This commit is contained in:
a298003154 2019-09-17 19:16:36 +08:00 committed by neverland
parent 71941c9816
commit 292054fd5d
2 changed files with 18 additions and 14 deletions

View File

@ -57,13 +57,15 @@ Use icon slot to custom icon
```js ```js
export default { export default {
data() { data() {
checked: true, return {
icon: { checked: true,
active: 'https://img.yzcdn.cn/vant/user-active.png', icon: {
inactive: 'https://img.yzcdn.cn/vant/user-inactive.png' active: 'https://img.yzcdn.cn/vant/user-active.png',
} inactive: 'https://img.yzcdn.cn/vant/user-inactive.png'
}
};
} }
} };
``` ```
### Checkbox Group ### Checkbox Group
@ -148,7 +150,7 @@ export default {
| name | Checkbox name | *any* | - | - | | name | Checkbox name | *any* | - | - |
| shape | Can be set to `square` | *string* | `round` | - | | shape | Can be set to `square` | *string* | `round` | - |
| v-model | Check status | *boolean* | `false` | - | | v-model | Check status | *boolean* | `false` | - |
| disabled | Diable checkbox | *boolean* | `false` | - | | disabled | Disable checkbox | *boolean* | `false` | - |
| icon-size | Icon size | *string \| number* | `20px` | - | | icon-size | Icon size | *string \| number* | `20px` | - |
| label-disabled | Whether to disable label click | *boolean* | `false` | - | | label-disabled | Whether to disable label click | *boolean* | `false` | - |
| label-position | Can be set to `left` | *string* | `right` | - | | label-position | Can be set to `left` | *string* | `right` | - |

View File

@ -79,13 +79,15 @@ Use icon slot to custom icon
```js ```js
export default { export default {
data() { data() {
radio: '1', return {
icon: { radio: '1',
active: 'https://img.yzcdn.cn/vant/user-active.png', icon: {
inactive: 'https://img.yzcdn.cn/vant/user-inactive.png' active: 'https://img.yzcdn.cn/vant/user-active.png',
} inactive: 'https://img.yzcdn.cn/vant/user-inactive.png'
}
};
} }
} };
``` ```
### Inside a Cell ### Inside a Cell
@ -122,7 +124,7 @@ export default {
| Attribute | Description | Type | Default | Version | | Attribute | Description | Type | Default | Version |
|------|------|------|------|------| |------|------|------|------|------|
| v-model | Name of checked radio | *any* | - | - | | v-model | Name of checked radio | *any* | - | - |
| disabled | Diable all radios | *boolean* | `false` | - | | disabled | Disable all radios | *boolean* | `false` | - |
### Radio Events ### Radio Events