# CheckBox(多选)
# 使用范围
ui、行为、规则组件通用
# 使用方式
config:{
subject: {
text: '客户端',
type: 'CheckBox',
options: [
{
text: '学而思客户端',
value: '1'
},
{
text: '微信',
value: '2'
},
{
text: '其他',
value: '3'
}
]
}
},
data: {
subject: ['1'] // 在data中指定默认值, 默认值类型为 string[]
}
# 特有参数
| 参数 | 说明 | 类型 | 默认值 | 是否必填 |
|---|---|---|---|---|
| options | 选项内容(对象数组或者function return 对象数组) | string[] | [] | 是 |
# 效果
