From 3f4fb86fe372668ae30504ed39a2c228cf4ef91d Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 24 九月 2024 14:44:17 +0800 Subject: [PATCH] # --- zy-acs-flow/src/page/task/TaskList.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zy-acs-flow/src/page/task/TaskList.jsx b/zy-acs-flow/src/page/task/TaskList.jsx index 870234b..2acc2b1 100644 --- a/zy-acs-flow/src/page/task/TaskList.jsx +++ b/zy-acs-flow/src/page/task/TaskList.jsx @@ -32,6 +32,7 @@ DeleteButton, FunctionField, Pagination, + useNotify, } from 'react-admin'; import { Box, Chip, Card, Stack } from '@mui/material'; import { styled } from '@mui/material/styles'; @@ -130,7 +131,7 @@ const TaskList = () => { const translate = useTranslate(); - + const notify = useNotify(); const [createDialog, setCreateDialog] = useState(false); const [drawerVal, setDrawerVal] = useState(false); @@ -179,8 +180,8 @@ <MyExportButton /> </TopToolbar> )} - pagination={<Pagination rowsPerPageOptions={[10, 20, 50, 100]} />} - perPage={20} + pagination={<Pagination rowsPerPageOptions={[10, 25, 50, 100]} />} + perPage={25} aside={<TaskListAside />} > <StyledDatagrid -- Gitblit v1.9.1