From 76d06b980961165b78f2c3b3bd0c11e03f39e18e Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Thu, 22 Jan 2026 21:35:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(template):=20=E7=A7=BB=E9=99=A4=E5=86=85?= =?UTF-8?q?=E7=BD=AE=E6=A8=A1=E6=9D=BF=E7=9A=84=E7=BC=96=E8=BE=91=E5=92=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9D=83=E9=99=90=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了内置模板的编辑按钮隐藏逻辑 - 移除了内置模板的删除按钮禁用条件 - 允许所有模板类型显示完整的操作按钮组 - 统一了模板列表的操作按钮渲染逻辑 --- .../DataAnnotation/Template/TemplateList.tsx | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx index b9c3d18..8f128e1 100644 --- a/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx +++ b/frontend/src/pages/DataAnnotation/Template/TemplateList.tsx @@ -263,31 +263,29 @@ const TemplateList: React.FC = () => { onClick={() => handleView(record)} /> - {!record.builtIn && ( - <> - + <> + +