UNPKG

snowy-designer

Version:

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

2 lines (1 loc) 508 B
"use strict";const e=require("vue"),m=require("ant-design-vue"),p=e.defineComponent({props:{componentSchema:{default:()=>({}),require:!0,type:Object}},setup(t,{slots:o}){const r=e.inject("nodeAttrs",{});return()=>{var c;const n={...t.componentSchema,...(c=t.componentSchema)==null?void 0:c.componentProps},d=n.children;return delete n.children,e.h(m.TabPane,{componentSchema:n,...r},{default:()=>e.renderSlot(o,"edit-node",{},()=>d.map(a=>e.renderSlot(o,"node",{componentSchema:a})))})}}});module.exports=p;