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);
if (res.code === 200) {
setCollapses(res.data.records.reverse());
setTotal(res.data.total);
setCollapses(res.data.list.reverse());
setTotal(res.data.total || res.data.totalCount);
}
};

Loading…
Cancel
Save