diff --git a/frontend/src/components/Navbar.tsx b/frontend/src/components/Navbar.tsx index b1e9daf..1c49ce7 100644 --- a/frontend/src/components/Navbar.tsx +++ b/frontend/src/components/Navbar.tsx @@ -22,7 +22,8 @@ import { CubeIcon, PieChartIcon, BellIcon, - HamburgerMenuIcon + HamburgerMenuIcon, + DownloadIcon } from "@radix-ui/react-icons"; import { useAuth } from "../providers/AuthProvider"; import { useState, useEffect } from "react"; diff --git a/frontend/src/pages/agents/AgentDetail.tsx b/frontend/src/pages/agents/AgentDetail.tsx index 68c8908..e4a6868 100644 --- a/frontend/src/pages/agents/AgentDetail.tsx +++ b/frontend/src/pages/agents/AgentDetail.tsx @@ -196,7 +196,7 @@ const AgentDetail = () => { return ( - + - + {/* 系统信息卡片 */} @@ -380,7 +380,7 @@ const AgentDetail = () => { {/* Agent 资源信息卡片 */} - + {t("agent.metrics")} { - + {agents.length === 0 ? ( { - + {monitors.length === 0 ? (