wh_components
Version:
郭炜恒的vue组件库
31 lines (22 loc) • 523 B
Markdown
### Check 多选框
#### 使用示例
```vue
<wh-check :list="list" v-model="valueArr" type="squa" color="#bd2df5"></wh-check>
```
```javascript
list: [
{ value: 1, span:'Srwing' },
{ value: 2, span:'Wering' },
{ value: 3, span:'Pinter' }
],
valueArr: [1,2,3]
```
#### 参数介绍
```javascript
1. list 多选选项数组,格式 { value:1,span:'Srwing' }
2. v-moudel 当前选中项([value,value])
3. type 多选框的类型
round 圆形
squa 方形
4. color 选中时多选框的颜色
```