snowy-designer
Version:
基于Epic-Designer-Pro版本的设计器,可视化开发页面表单
30 lines (29 loc) • 626 B
JavaScript
import { defineComponent as p, h as r, renderSlot as c } from "vue";
import { ElButton as a } from "element-plus";
const f = p({
props: {
componentSchema: {
default: () => ({}),
type: Object
}
},
setup(t, { slots: n }) {
return () => {
var e;
const m = {
...(e = t.componentSchema) == null ? void 0 : e.componentProps
};
return r(a, m, {
default: () => c(n, "default", {}, () => {
var o;
return [
(o = t.componentSchema) == null ? void 0 : o.label
];
})
});
};
}
});
export {
f as default
};