UNPKG

snowy-designer

Version:

基于Epic-Designer-Pro版本的设计器,可视化开发页面表单

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