mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-24 07:29:16 +08:00
docs: fix incorrect word (#4467)
This commit is contained in:
parent
71941c9816
commit
292054fd5d
@ -57,13 +57,15 @@ Use icon slot to custom icon
|
|||||||
```js
|
```js
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
return {
|
||||||
checked: true,
|
checked: true,
|
||||||
icon: {
|
icon: {
|
||||||
active: 'https://img.yzcdn.cn/vant/user-active.png',
|
active: 'https://img.yzcdn.cn/vant/user-active.png',
|
||||||
inactive: 'https://img.yzcdn.cn/vant/user-inactive.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` | - |
|
||||||
|
@ -79,13 +79,15 @@ Use icon slot to custom icon
|
|||||||
```js
|
```js
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
return {
|
||||||
radio: '1',
|
radio: '1',
|
||||||
icon: {
|
icon: {
|
||||||
active: 'https://img.yzcdn.cn/vant/user-active.png',
|
active: 'https://img.yzcdn.cn/vant/user-active.png',
|
||||||
inactive: 'https://img.yzcdn.cn/vant/user-inactive.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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user