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

View File

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