reactor:【system 系统管理】dept 部门管理的实现,对齐 ele 和 antd(pagerConfig 顺序)

This commit is contained in:
YunaiV
2025-09-05 22:07:37 +08:00
parent c34fdcc5e8
commit 4cd1be1a31
2 changed files with 8 additions and 8 deletions

View File

@@ -100,6 +100,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
gridOptions: {
columns: useGridColumns(getLeaderName),
height: 'auto',
pagerConfig: {
enabled: false,
},
proxyConfig: {
ajax: {
query: async () => {
@@ -107,9 +110,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
},
},
},
pagerConfig: {
enabled: false,
},
rowConfig: {
keyField: 'id',
isHover: true,
@@ -119,9 +119,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
search: true,
},
treeConfig: {
transform: true,
rowField: 'id',
parentField: 'parentId',
rowField: 'id',
transform: true,
expandAll: true,
reserve: true,
},