This commit is contained in:
chashaobao
2025-06-25 22:47:53 +08:00
parent 0ec366cc2e
commit 56cf10c768
5 changed files with 56 additions and 10 deletions

View File

@ -46,8 +46,8 @@ function JobRecommendList(props: IJobListProps) {
setDataList([]);
setLoading(true);
setLoadError(false);
const { jobResults = [] } = await requestMyRecommendJobList({ ...requestProps.current });
setDataList(jobResults);
const { jobResults } = await requestMyRecommendJobList({ ...requestProps.current });
setDataList(jobResults || []);
} catch (e) {
setDataList([]);
setLoadError(true);