提交 b85a11d0 编写于 作者: chenli_1989's avatar chenli_1989

perf: optimize step-by-step form layout

上级 770574c9
...@@ -15,6 +15,9 @@ export const step1Schemas: FormSchema[] = [ ...@@ -15,6 +15,9 @@ export const step1Schemas: FormSchema[] = [
}, },
], ],
}, },
colProps: {
span: 24,
},
}, },
{ {
field: 'fac', field: 'fac',
...@@ -23,6 +26,9 @@ export const step1Schemas: FormSchema[] = [ ...@@ -23,6 +26,9 @@ export const step1Schemas: FormSchema[] = [
required: true, required: true,
defaultValue: 'test@example.com', defaultValue: 'test@example.com',
slot: 'fac', slot: 'fac',
colProps: {
span: 24,
},
}, },
{ {
field: 'pay', field: 'pay',
...@@ -37,6 +43,9 @@ export const step1Schemas: FormSchema[] = [ ...@@ -37,6 +43,9 @@ export const step1Schemas: FormSchema[] = [
label: '收款人姓名', label: '收款人姓名',
defaultValue: 'Vben', defaultValue: 'Vben',
required: true, required: true,
colProps: {
span: 24,
},
}, },
{ {
field: 'money', field: 'money',
...@@ -49,6 +58,9 @@ export const step1Schemas: FormSchema[] = [ ...@@ -49,6 +58,9 @@ export const step1Schemas: FormSchema[] = [
prefix: () => '', prefix: () => '',
}; };
}, },
colProps: {
span: 24,
},
}, },
]; ];
...@@ -59,5 +71,8 @@ export const step2Schemas: FormSchema[] = [ ...@@ -59,5 +71,8 @@ export const step2Schemas: FormSchema[] = [
label: '支付密码', label: '支付密码',
required: true, required: true,
defaultValue: '123456', defaultValue: '123456',
colProps: {
span: 24,
},
}, },
]; ];
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册