巴林闲侠 2 years ago
parent
commit
789f93eb12
  1. 4
      web/client/src/sections/patrolManage/containers/patrolRecord.js

4
web/client/src/sections/patrolManage/containers/patrolRecord.js

@ -182,8 +182,8 @@ const PatrolRecord = (props) => {
return <span style={{ fontSize: 15 }}>{`${Math.ceil(total / query?.limit)}页,${total}`}</span> return <span style={{ fontSize: 15 }}>{`${Math.ceil(total / query?.limit)}页,${total}`}</span>
}, },
onChange: (page, pageSize) => { onChange: (page, pageSize) => {
setQuery({ limit: pageSize, page: page - 1 }); setQuery({ limit: pageSize, page: page - 1 });
record({ limit: pageSize, page: page - 1, ...search, companyId: companyID || search?.companyId }) record({ limit: pageSize, page: page - 1, ...search, companyId: search?.companyId })
} }
}} }}
/> />

Loading…
Cancel
Save