UNPKG

epic-designer-gold

Version:

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

28 lines (27 loc) 611 B
import { defineComponent as p, h as r, renderSlot as c } from "vue"; import { ElButton as a } from "element-plus"; const d = p({ props: { componentSchema: { type: Object, default: () => ({}) } }, setup(t, { emit: u, slots: n }) { return () => { var e; const m = { ...(e = t.componentSchema) == null ? void 0 : e.componentProps }; return r(a, m, { default: () => c(n, "default", {}, () => { var o; return [(o = t.componentSchema) == null ? void 0 : o.label]; }) }); }; } }); export { d as default };