提交 | 用户 | 时间 | ||
a57dc2 | 1 | export default { |
W | 2 | options(h, conf, key) { |
3 | const list = [] | |
4 | conf.__slot__.options.forEach(item => { | |
5 | if (conf.__config__.optionType === 'button') { | |
6 | list.push(<el-checkbox-button label={item.value}>{item.label}</el-checkbox-button>) | |
7 | } else { | |
8 | list.push(<el-checkbox label={item.value} border={conf.border}>{item.label}</el-checkbox>) | |
9 | } | |
10 | }) | |
11 | return list | |
12 | } | |
13 | } |