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

pull/210/head
YunaiV 2025-09-05 22:07:37 +08:00
parent c34fdcc5e8
commit 4cd1be1a31
2 changed files with 8 additions and 8 deletions

View File

@ -102,6 +102,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
gridOptions: { gridOptions: {
columns: useGridColumns(getLeaderName), columns: useGridColumns(getLeaderName),
height: 'auto', height: 'auto',
pagerConfig: {
enabled: false,
},
proxyConfig: { proxyConfig: {
ajax: { ajax: {
query: async () => { query: async () => {
@ -109,9 +112,6 @@ const [Grid, gridApi] = useVbenVxeGrid({
}, },
}, },
}, },
pagerConfig: {
enabled: false,
},
rowConfig: { rowConfig: {
keyField: 'id', keyField: 'id',
isHover: true, isHover: true,

View File

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