UNPKG

epic-designer-cjh

Version:

基于vue3的设计器,可视化开发页面表单

40 lines (39 loc) 1.06 kB
import { defineComponent as r, h as t } from "vue"; import "./el-select-4ed993c7.js"; import { g as i, f as n, E as d } from "./index-2314d161.js"; import "./index-97ce4605.js"; import "./use-form-item-5dfea179.js"; import "./isEqual-eac09a18.js"; import "./_baseIsEqual-2f2ed312.js"; import "./hasIn-b4ac620c.js"; import "./_flatRest-fa7c8eb8.js"; import "./_overRest-dc82ce77.js"; const B = r({ emits: ["update:modelValue"], setup(s, { emit: m, attrs: u }) { function p(e = null) { m("update:modelValue", e); } return () => { const e = { ...u, "onUpdate:modelValue": p }; return t(i, e, { default: () => { var l, a; return [ e != null && e.radioButton ? (l = e.options) == null ? void 0 : l.map( (o) => t(n, { label: o.label, value: o.value }) ) : (a = e.options) == null ? void 0 : a.map( (o) => t(d, { label: o.label, value: o.value }) ) ]; } }); }; } }); export { B as default };