feat(componentDeployment): 更换接口字段

master
钟良源 2 months ago
parent 55e35d1545
commit 85862d1762

@ -57,8 +57,8 @@ const CollapseList: React.FC<CollapseListProps> = ({ searchKeyword, runStatus })
const res: any = await getDeployList(params); const res: any = await getDeployList(params);
if (res.code === 200) { if (res.code === 200) {
setCollapses(res.data.records.reverse()); setCollapses(res.data.list.reverse());
setTotal(res.data.total); setTotal(res.data.total || res.data.totalCount);
} }
}; };

Loading…
Cancel
Save