From 7cc3d345759bf960a1196e8cf0d027d838bd457f Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 26 Jan 2026 12:19:49 +0800 Subject: [PATCH] =?UTF-8?q?refactor(annotation):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=AE=B5=E8=90=BD=E5=88=87=E7=89=87=E9=85=8D=E7=BD=AE=E7=9A=84?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除非文本数据集的段落切片配置选项 - 简化条件渲染逻辑,仅在文本数据集时显示段落切片配置 - 统一两个组件中的段落切片配置显示规则 - 移除冗余的数据集选择和类型检查提示信息 - 优化编辑模式下的禁用状态处理 --- .../DataAnnotation/Create/CreateTask.tsx | 33 ++++++++--------- .../components/CreateAnnotationTaskDialog.tsx | 36 ++++++++----------- 2 files changed, 29 insertions(+), 40 deletions(-) diff --git a/frontend/src/pages/DataAnnotation/Create/CreateTask.tsx b/frontend/src/pages/DataAnnotation/Create/CreateTask.tsx index fa67091..48db51d 100644 --- a/frontend/src/pages/DataAnnotation/Create/CreateTask.tsx +++ b/frontend/src/pages/DataAnnotation/Create/CreateTask.tsx @@ -186,25 +186,20 @@ export default function AnnotationTaskCreate() { /> -