生产管理系统 - 企业审核与审核历史联调

This commit is contained in:
2025-11-03 22:30:49 +08:00
parent c690d50baa
commit 394e6d8342
13 changed files with 2580 additions and 582 deletions

View File

@@ -126,6 +126,12 @@ export default function EnterpriseManagement() {
};
const handlePageChange = (page: number) => {
// 边界检查,确保页码在有效范围内
if (page < 1) {
page = 1;
} else if (page > state.pagination.totalPages && state.pagination.totalPages > 0) {
page = state.pagination.totalPages;
}
dispatch({ type: 'SET_PAGINATION', payload: { page } });
};