diff --git a/frontend/src/pages/K8sResourceList.tsx b/frontend/src/pages/K8sResourceList.tsx index c635edd..8700951 100644 --- a/frontend/src/pages/K8sResourceList.tsx +++ b/frontend/src/pages/K8sResourceList.tsx @@ -884,7 +884,8 @@ export default function K8sResourceList() { 确认删除 - 确定要删除 Pod {deleteTarget?.name} (namespace: {deleteTarget?.namespace}) 吗? + 确定要删除 {selectedKind.label} {deleteTarget?.name} + {deleteTarget?.namespace && selectedKind.key !== 'namespace' ? ` (namespace: ${deleteTarget?.namespace})` : ''} 吗?