feat: 🎸 新增了redux用于全局自动loading

This commit is contained in:
2025-08-20 23:56:04 +08:00
parent 9895101fde
commit a493f2773c
11 changed files with 477 additions and 150 deletions

View File

@@ -57,7 +57,8 @@ const CompanyJobsPage = () => {
pageSize: PAGE_SIZE,
isActive: true,
});
if (res.success) {
if (res?.success) {
const mappedJobs = mapJobList(res.data);
setJobs((prevList) => {
const newList = [...prevList, ...mappedJobs];