From 4233da5b918257e08f0c475236f5821b3e4d07df Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Wed, 28 Jan 2026 10:03:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(annotation):=20=E8=B0=83=E6=95=B4=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E6=9F=A5=E8=AF=A2=E5=A4=A7=E5=B0=8F=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将模板查询大小从 200 减少到 100 - 添加注释说明后端最大限制为 100 - 确保与模板 API 的 'size' 参数一致 --- .../Create/components/CreateAnnotationTaskDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/DataAnnotation/Create/components/CreateAnnotationTaskDialog.tsx b/frontend/src/pages/DataAnnotation/Create/components/CreateAnnotationTaskDialog.tsx index 032e596..2107475 100644 --- a/frontend/src/pages/DataAnnotation/Create/components/CreateAnnotationTaskDialog.tsx +++ b/frontend/src/pages/DataAnnotation/Create/components/CreateAnnotationTaskDialog.tsx @@ -156,7 +156,7 @@ export default function CreateAnnotationTask({ try { const templateResponse = await queryAnnotationTemplatesUsingGet({ page: 1, - size: 200, + size: 100, // Backend max is 100 (template API uses 'size' not 'pageSize') dataType, });