UNPKG

snowy-designer

Version:

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

2 lines (1 loc) 448 B
"use strict";const e=require("vue"),l=require("ant-design-vue"),m=e.defineComponent({props:{componentSchema:{default:()=>({}),require:!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(l.Col,n,{default:()=>e.renderSlot(o,"edit-node",{},()=>r.map(d=>e.renderSlot(o,"node",{componentSchema:d})))})}}});module.exports=m;