UNPKG

epic-designer-gold

Version:

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

2 lines (1 loc) 480 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("naive-ui"),d=e.defineComponent({props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(n,{slots:o}){return()=>{const t={...n.componentSchema,title:n.componentSchema.label},c=t.children;return delete t.children,e.h(l.NCol,t,{default:()=>e.renderSlot(o,"edit-node",{},()=>c.map(r=>e.renderSlot(o,"node",{componentSchema:r})))})}}});exports.default=d;