UNPKG

snowy-designer

Version:

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

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