fix: table search form slot not working as expected

This commit is contained in:
vben
2024-10-13 23:44:45 +08:00
parent 24d14c2841
commit ea962e75d0
10 changed files with 44 additions and 33 deletions

View File

@@ -18,10 +18,12 @@ interface RowType {
}
const formOptions: VbenFormProps = {
collapsed: true,
// 默认展开
collapsed: false,
schema: [
{
component: 'Input',
defaultValue: '1',
fieldName: 'category',
label: 'Category',
},

View File

@@ -27,6 +27,9 @@ const gridOptions: VxeGridProps<RowType> = {
{ field: 'date', title: 'Date' },
],
data: MOCK_TREE_TABLE_DATA,
pagerConfig: {
enabled: false,
},
treeConfig: {
parentField: 'parentId',
rowField: 'id',

View File

@@ -23,6 +23,9 @@ const gridOptions: VxeGridProps<RowType> = {
],
data: [],
height: 'auto',
pagerConfig: {
enabled: false,
},
scrollY: {
enabled: true,
gt: 0,