From 6fac8c1322819ead54131a7b9169c1082ba28466 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 19 Jan 2026 16:46:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor(data-management):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E8=AF=A6=E6=83=85=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E8=B7=AF=E5=BE=84=E5=92=8C=E5=AD=98=E5=82=A8?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从数据集概览组件中移除 targetLocation 和 pvcName 字段显示 - 保留创建者、创建时间等核心信息展示 - 清理相关的代码结构和布局调整 --- .../Detail/components/Overview.tsx | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/frontend/src/pages/DataManagement/Detail/components/Overview.tsx b/frontend/src/pages/DataManagement/Detail/components/Overview.tsx index a4e5ad1..7a06564 100644 --- a/frontend/src/pages/DataManagement/Detail/components/Overview.tsx +++ b/frontend/src/pages/DataManagement/Detail/components/Overview.tsx @@ -72,16 +72,6 @@ export default function Overview({ dataset, filesOperation, fetchDataset }) { label: "创建者", children: dataset.createdBy || "未知", }, - { - key: "targetLocation", - label: "存储路径", - children: dataset.targetLocation || "未知", - }, - { - key: "pvcName", - label: "存储名称", - children: dataset.pvcName || "未知", - }, { key: "createdAt", label: "创建时间", @@ -187,11 +177,11 @@ export default function Overview({ dataset, filesOperation, fetchDataset }) { fixed: "right", render: (_, record) => { const isDirectory = record.id.startsWith('directory-'); - + if (isDirectory) { const currentPath = filesOperation.pagination.prefix || ''; const fullPath = `${currentPath}${record.fileName}/`; - + return (