Blame view

yudao-admin-ui/src/components/render/slots/el-select.js 240 Bytes
d574a99d   YunaiV   使用最新的 form genera...
1
2
3
4
5
6
7
8
9
  export default {
    options(h, conf, key) {
      const list = []
      conf.__slot__.options.forEach(item => {
        list.push(<el-option label={item.label} value={item.value} disabled={item.disabled}></el-option>)
      })
      return list
    }
  }