diff --git a/web/client/src/sections/patrolManage/containers/patrolRecord.js b/web/client/src/sections/patrolManage/containers/patrolRecord.js index aa9c869..f0a76d8 100644 --- a/web/client/src/sections/patrolManage/containers/patrolRecord.js +++ b/web/client/src/sections/patrolManage/containers/patrolRecord.js @@ -182,8 +182,8 @@ const PatrolRecord = (props) => { return {`共${Math.ceil(total / query?.limit)}页,${total}项`} }, onChange: (page, pageSize) => { - setQuery({ limit: pageSize, page: page - 1 }); - record({ limit: pageSize, page: page - 1, ...search, companyId: companyID || search?.companyId }) + setQuery({ limit: pageSize, page: page - 1 }); + record({ limit: pageSize, page: page - 1, ...search, companyId: search?.companyId }) } }} />