多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
> ## 组件 wl-checkbox 使用文档 ``` <wl-checkbox v-model="labelList" :dataList="dataList" :dataType="dataType"></wl-checkbox> ``` ### wl-checkbox props | 属性 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | labelList | 双向绑定多选框的选中值 | String 或 Array | '' | | dataList | 多选框的选项列表 | String 或 Array | '' | | dataType| 多选框的数据类型 | String | 'Array' | | valueType| 多选框的数据类型 | String | 'String' | #### 备注说明 > labelList 当为数组时如下,为字符串时把下列数组转为字符串。 ``` ['facebook', 'github'] ``` > dataList 当为数组时如下,为字符串时把下列数组转为字符串。label 属性和 labelList 对应。 ``` [{ label: 'twitter', text: 'Twitter' }] ```