refactor: change the form button field from text to content to prevent conflicts with the frame (#4586)
* refactor: change the form button field from text to content to prevent conflicts with the frame
This commit is contained in:
@@ -46,7 +46,7 @@ const [FirstForm, firstFormApi] = useVbenForm({
|
||||
},
|
||||
],
|
||||
submitButtonOptions: {
|
||||
text: '下一步',
|
||||
content: '下一步',
|
||||
},
|
||||
wrapperClass: 'grid-cols-1 md:grid-cols-1 lg:grid-cols-1',
|
||||
});
|
||||
@@ -60,7 +60,7 @@ const [SecondForm, secondFormApi] = useVbenForm({
|
||||
handleSubmit: onSecondSubmit,
|
||||
layout: 'horizontal',
|
||||
resetButtonOptions: {
|
||||
text: '上一步',
|
||||
content: '上一步',
|
||||
},
|
||||
schema: [
|
||||
{
|
||||
|
@@ -80,7 +80,7 @@ const [QueryForm] = useVbenForm({
|
||||
// 是否可展开
|
||||
showCollapseButton: true,
|
||||
submitButtonOptions: {
|
||||
text: '查询',
|
||||
content: '查询',
|
||||
},
|
||||
// 大屏一行显示3个,中屏一行显示2个,小屏一行显示1个
|
||||
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3',
|
||||
@@ -119,7 +119,7 @@ const [QueryForm1] = useVbenForm({
|
||||
// 是否可展开
|
||||
showCollapseButton: true,
|
||||
submitButtonOptions: {
|
||||
text: '查询',
|
||||
content: '查询',
|
||||
},
|
||||
// 大屏一行显示3个,中屏一行显示2个,小屏一行显示1个
|
||||
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3',
|
||||
|
Reference in New Issue
Block a user