form-tdesigner
Version:
好用的Vue低代码可视化表单设计器,可以通过拖拽的方式快速创建表单,提高开发者对表单的开发效率。
31 lines (28 loc) • 562 B
JavaScript
import { localeProps } from '../../utils';
const label = '行内布局';
const name = 'inlineBlock';
export default {
menu: 'layout',
icon: 'icon-inline',
label,
name,
drag: true,
mask: false,
// children: 'div',
// childrenLen: 2,
rule() {
return {
type: 'div',
title: '',
native: true,
style: {
display: 'flex',
alignItems: 'center',
},
class: 'inline-block',
};
},
props(_, { t }) {
return localeProps(t, name + '.props', []);
},
};