新需求

This commit is contained in:
xianyi
2026-01-09 17:54:12 +08:00
parent ce4cdc4ed2
commit b9b95b9157
4 changed files with 27 additions and 21 deletions

View File

@@ -376,8 +376,7 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
CombinationCode: combinationItemCodes,
});
if (res.Status === 200 && res.Data?.listPdfInfo && res.Data.listPdfInfo.length > 0) {
// 新的接口返回的是数组至少有一个PDF文件即认为成功
if (res.Status === 200) {
return true;
} else {
console.error('获取加项PDF失败', res.Message);