diff --git a/client/src/api/errorMessages.ts b/client/src/api/errorMessages.ts index f1a3ac2d..67ffde29 100644 --- a/client/src/api/errorMessages.ts +++ b/client/src/api/errorMessages.ts @@ -308,6 +308,10 @@ export function mapApiErrorMessage( return "当前假种要求上传附件后才能提交。"; } + if (details?.file === "pdf_invoice_required") { + return "请上传 PDF 发票文件。"; + } + if (details?.file === "unsupported_mime_type") { return "附件类型不被当前假种接受,请重新选择。"; } diff --git a/client/src/components/mobile/MobileBottomNav.tsx b/client/src/components/mobile/MobileBottomNav.tsx index d8576955..efe5edd2 100644 --- a/client/src/components/mobile/MobileBottomNav.tsx +++ b/client/src/components/mobile/MobileBottomNav.tsx @@ -33,7 +33,10 @@ export function MobileBottomNav() { const pendingCount = pendingCountQuery.data ?? 0; return ( -