@@ -109,11 +109,12 @@ const adminperson: React.FC<Iprops> = ({ title, match: { params: routeParams } }
params: getListParams,
pagination,
run: requestList,
- } = useAntdTable(() => {
+ } = useAntdTable((params) => {
return {
url: '/v1/organization/user_list',
params: {
organization_code: routeParams.id,
+ page: params.current,
},
}
}, {})
@@ -25,7 +25,9 @@ const logPage: React.FC<Iprops> = ({ title }) => {
const { tableProps, error, params, pagination, run } = useAntdTable(
(params) => ({
url: '/v1/log/list',
- params,
+ params: {
+ },
}),
{
defaultPageSize: 10,