epic-designer-cjh
Version:
基于vue3的设计器,可视化开发页面表单
19 lines (18 loc) • 576 B
JavaScript
import { defineComponent as c, computed as u, openBlock as r, createElementBlock as o, renderSlot as n, Fragment as i, renderList as p } from "vue";
const a = { class: "h-full box-border bg-white wh-full!" }, f = /* @__PURE__ */ c({
__name: "index",
props: {
record: {}
},
setup(t) {
const d = t, l = u(() => d.record.children ?? []);
return (e, m) => (r(), o("div", a, [
n(e.$slots, "edit-node", {}, () => [
(r(!0), o(i, null, p(l.value, (s) => n(e.$slots, "node", { record: s })), 256))
])
]));
}
});
export {
f as default
};