UNPKG

epic-designer-gold

Version:

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

2 lines (1 loc) 524 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("ant-design-vue"),a=e.defineComponent({props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(n,{attrs:l,slots:o}){return()=>{var r;const t={...n.componentSchema,title:((r=n.componentSchema)==null?void 0:r.label)??""},c=t.children;return delete t.children,e.h(u.Row,t,{default:()=>e.renderSlot(o,"edit-node",{},()=>c.map(d=>e.renderSlot(o,"node",{componentSchema:d})))})}}});exports.default=a;