From a4769bc610e7e5b0fb01dfed32e41011e0cd227a Mon Sep 17 00:00:00 2001 From: admin <1297598740@qq.com> Date: Mon, 26 Jan 2026 09:24:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=A0=B8=E5=BF=83=20?= =?UTF-8?q?API=20=E5=AE=A2=E6=88=B7=E7=AB=AF=E3=80=81=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=EF=BC=88=E5=90=AB=E4=BB=A4=E7=89=8C=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=92=8C=20GitHub=20OAuth=EF=BC=89=E3=80=81=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD=E5=8F=8A=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=20UI=20=E7=BB=84=E4=BB=B6=E5=92=8C=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ImageAttachment/ImageAttachment.tsx | 8 +++---- .../transaction/ImagePreview/ImagePreview.tsx | 2 +- src/hooks/useAutoTokenRefresh.ts | 2 +- src/services/api.ts | 2 +- src/services/authService.ts | 2 +- src/services/imageService.test.ts | 22 +++++++++---------- src/services/imageService.ts | 2 +- src/services/reportService.ts | 14 ++++++------ 8 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/components/transaction/ImageAttachment/ImageAttachment.tsx b/src/components/transaction/ImageAttachment/ImageAttachment.tsx index e55fadc..0af56f5 100644 --- a/src/components/transaction/ImageAttachment/ImageAttachment.tsx +++ b/src/components/transaction/ImageAttachment/ImageAttachment.tsx @@ -35,7 +35,7 @@ export const ImageAttachment: React.FC = ({ const handleAddClick = () => { if (disabled) return; - + // Check if we can add more images const check = canAddMoreImages(images.length); if (!check.canAdd) { @@ -105,11 +105,11 @@ export const ImageAttachment: React.FC = ({ onClick={() => handleImageClick(index)} > {image.fileName} - + {/* Delete button overlay */} {!disabled && (