From a5261b33b2607c1da0dd56f1ae7b7827a9e54776 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 2 Feb 2026 16:20:38 +0800 Subject: [PATCH] =?UTF-8?q?refactor(template):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=88=97=E8=A1=A8=E4=B8=AD=E7=9A=84=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E3=80=81=E7=89=88=E6=9C=AC=E5=92=8C=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了类型列(内置/自定义标签显示) - 移除了版本列 - 移除了操作列(查看、编辑、删除按钮) - 保留了创建时间列并维持其渲染逻辑 --- .../DataAnnotation/Template/TemplateList.tsx | 57 ------------------- 1 file changed, 57 deletions(-) diff --git a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx index 8f128e1..242085c 100644 --- a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx +++ b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx @@ -225,23 +225,6 @@ const TemplateList: React.FC = () => { {ClassificationMap[category as keyof typeof ClassificationMap]?.label || category} ), }, - { - title: "类型", - dataIndex: "builtIn", - key: "builtIn", - width: 100, - render: (builtIn: boolean) => ( - - {builtIn ? "系统内置" : "自定义"} - - ), - }, - { - title: "版本", - dataIndex: "version", - key: "version", - width: 80, - }, { title: "创建时间", dataIndex: "createdAt", @@ -249,46 +232,6 @@ const TemplateList: React.FC = () => { width: 180, render: (date: string) => new Date(date).toLocaleString(), }, - { - title: "操作", - key: "action", - width: 200, - fixed: "right", - render: (_, record) => ( - - -