UNPKG

epic-designer-dev

Version:

基于vue3的设计器,可视化开发页面表单。在epic-designer的基础上新增了字典选择器

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