2025-04-02 21:57:33 +08:00

7 lines
182 B
JavaScript

export default {
name: 'VueFragment',
functional: true,
render: function render(h, ctx) {
return ctx.children.length > 1 ? h('div', {}, ctx.children) : ctx.children;
}
};