chore: 去掉在线用户的分页

This commit is contained in:
dap 2024-12-13 16:37:53 +08:00
parent c74369fd76
commit 982ccd57c6

View File

@ -26,13 +26,13 @@ const gridOptions: VxeGridProps = {
columns, columns,
height: 'auto', height: 'auto',
keepSource: true, keepSource: true,
pagerConfig: {}, pagerConfig: {
enabled: false,
},
proxyConfig: { proxyConfig: {
ajax: { ajax: {
query: async ({ page }, formValues) => { query: async (_, formValues) => {
return await onlineList({ return await onlineList({
pageNum: page.currentPage,
pageSize: page.pageSize,
...formValues, ...formValues,
}); });
}, },