You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
export const formConfig = {
|
|
formLayout: {
|
|
vertical: {
|
|
layout: 'horizontal',
|
|
class: 'ns-vertical-form',
|
|
wrapperCol: { span: 16 },
|
|
labelCol: { span: 6 },
|
|
span: 24,
|
|
sm: null, //≥576px <=768
|
|
lg: null, //>= 768
|
|
gutter: [0, 0],
|
|
justify: 'space-around',
|
|
},
|
|
flex: {
|
|
// layout: 'horizontal',
|
|
class: 'ns-flex-form ns-flex-form-horizontal',
|
|
wrapperCol: { span: 16 },
|
|
span: 7,
|
|
sm: null, //≥576px <=768
|
|
lg: null, //>= 768
|
|
gutter: [0, 0],
|
|
justify: 'space-between',
|
|
},
|
|
flexv2: {
|
|
// layout: 'horizontal',
|
|
class: 'ns-flex-form ns-flex-form-horizontal',
|
|
wrapperCol: { span: 16 },
|
|
span: 6,
|
|
sm: 8, //≥576px <=768
|
|
lg: 6, //>= 768
|
|
gutter: [16, 16],
|
|
justify: 'space-between',
|
|
},
|
|
flexVertical: {
|
|
layout: 'vertical',
|
|
class: 'ns-flex-form ns-flex-form-vertical',
|
|
wrapperCol: {},
|
|
span: 7,
|
|
sm: null, //≥576px <=768
|
|
lg: null, //>= 768
|
|
gutter: [0, 0],
|
|
justify: 'space-between',
|
|
},
|
|
},
|
|
};
|
|
|