export default { options(h, conf, key, that) { const list = [] conf.__slot__.options.forEach(item => { if (conf.__config__.optionType === 'button') { list.push({item.label}) } else { if (item.value == 0) { list.push(
{item.label} { console.log(event) that.$emit('otherChange', event.target.value, conf) }} onChange={event => { that.$emit('otherChange', event.target.value, conf) }}/>
) } else { list.push({item.label}) } } }) return list } }