UNPKG

snowy-designer

Version:

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

41 lines (40 loc) 1.02 kB
import { defineComponent as m, h as l } from "vue"; import { ElRadioGroup as r, ElRadioButton as i, ElRadio as p } from "element-plus"; import "element-plus/es/components/select/style/css"; const E = m({ emits: ["update:modelValue"], setup(f, { attrs: u, emit: d }) { function n(e = null) { d("update:modelValue", e); } return () => { const e = { ...u, "onUpdate:modelValue": n }; return l(r, e, { default: () => { var t, o; return [ e != null && e.radioButton ? (t = e.options) == null ? void 0 : t.map( (a) => l( i, { value: a.value }, { default: () => a.label } ) ) : (o = e.options) == null ? void 0 : o.map( (a) => l( p, { value: a.value }, { default: () => a.label } ) ) ]; } }); }; } }); export { E as default };