@ -274,10 +274,10 @@ const CompAudit = () => {
if (res.code === 200 && res.data) {
setData(res.data.list || []);
setPagination({
totalCount: res.data.total || 0,
pageSize: res.data.size || 10,
totalPage: res.data.pages || 0,
currPage: res.data.current || 1
totalCount: res.data.totalCount || 0,
pageSize: res.data.pageSize || 10,
totalPage: res.data.totalPage || 0,
currPage: res.data.currPage || 1
});
}
else {
@ -4,6 +4,15 @@
background-color: #ffffff;
padding: 17px 19px 0 24px;
.pagination-container {
display: flex;
justify-content: flex-end;
padding: 16px 0;
flex-shrink: 0;
border-top: 1px solid #E5E6EB;
margin-top: 8px;
.comp-list-menu {
flex: 1;
border-right: 4px solid #E5E6EB;
@ -84,14 +93,6 @@
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);