This commit is contained in:
dap
2024-10-14 17:19:16 +08:00
71 changed files with 970 additions and 1071 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,