UNPKG

epic-designer-dev

Version:

基于vue3的设计器,可视化开发页面表单。在epic-designer的基础上新增了字典选择器

32 lines (31 loc) 854 B
import { defineComponent as p, createBlock as a, openBlock as c, unref as m, normalizeProps as s, guardReactiveProps as l, withCtx as u, renderSlot as f, createTextVNode as i, toDisplayString as d } from "vue"; import { Button as _ } from "ant-design-vue"; const x = /* @__PURE__ */ p({ __name: "button", props: { componentSchema: { default: () => ({}), type: Object } }, setup(n) { const e = n; return (r, h) => { var t; return c(), a(m(_), s(l((t = e.componentSchema) == null ? void 0 : t.componentProps)), { default: u(() => [ f(r.$slots, "default", {}, () => { var o; return [ i(d((o = e.componentSchema) == null ? void 0 : o.label), 1) ]; }) ]), _: 3 }, 16); }; } }); export { x as default };