UNPKG

snowy-designer

Version:

基于Epic-Designer-Pro版本的设计器,可视化开发页面表单

32 lines (31 loc) 730 B
import { defineComponent as n, h as a } from "vue"; import { ElSelect as m, ElOption as d } from "element-plus"; import "element-plus/es/components/select/style/css"; const c = n({ emits: ["update:modelValue"], setup(r, { attrs: l, emit: p }) { function u(e = null) { p("update:modelValue", e); } return () => { const e = { ...l, key: String(l.multiple), "onUpdate:modelValue": u }; return a(m, e, { default: () => { var t; return [ (t = e.options) == null ? void 0 : t.map( (o) => a(d, { label: o.label, value: o.value }) ) ]; } }); }; } }); export { c as default };