UNPKG

gepic

Version:

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

2 lines (1 loc) 456 B
"use strict";const e=require("vue"),m=require("ant-design-vue"),u=e.defineComponent({props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(n,{attrs:a,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(m.Row,t,{default:()=>e.renderSlot(o,"edit-node",{},()=>c.map(d=>e.renderSlot(o,"node",{componentSchema:d})))})}}});module.exports=u;