diff --git a/frontend/src/app/routes.tsx b/frontend/src/app/routes.tsx
index 72f6487..fb167be 100644
--- a/frontend/src/app/routes.tsx
+++ b/frontend/src/app/routes.tsx
@@ -24,9 +24,9 @@ export interface RouteConfig {
const routes: RouteConfig[] = [
{
name: "Agent审计",
- path: "/",
+ path: "/agent-audit",
element: ,
- visible: true,
+ visible: false,
},
{
name: "Agent审计任务",
@@ -36,7 +36,7 @@ const routes: RouteConfig[] = [
},
{
name: "仪表盘",
- path: "/dashboard",
+ path: "/",
element: ,
visible: true,
},
diff --git a/frontend/src/components/audit/CreateTaskDialog.tsx b/frontend/src/components/audit/CreateTaskDialog.tsx
index 9e8d72e..4700800 100644
--- a/frontend/src/components/audit/CreateTaskDialog.tsx
+++ b/frontend/src/components/audit/CreateTaskDialog.tsx
@@ -669,8 +669,8 @@ function ProjectCard({
return (
@@ -694,8 +694,8 @@ function ProjectCard({
{isRepo ? "REPO" : "ZIP"}
diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx
index ba59922..f88fa33 100644
--- a/frontend/src/components/layout/Sidebar.tsx
+++ b/frontend/src/components/layout/Sidebar.tsx
@@ -29,8 +29,8 @@ import routes from "@/app/routes";
// Icon mapping for routes with consistent sizing
const routeIcons: Record = {
- "/": ,
- "/dashboard": ,
+ "/": ,
+ "/agent-audit": ,
"/projects": ,
"/instant-analysis": ,
"/audit-tasks": ,
diff --git a/frontend/src/pages/AgentAudit/index.tsx b/frontend/src/pages/AgentAudit/index.tsx
index c9840e6..7cfe7ca 100644
--- a/frontend/src/pages/AgentAudit/index.tsx
+++ b/frontend/src/pages/AgentAudit/index.tsx
@@ -980,7 +980,7 @@ function AgentAuditPageContent() {
{isRunning ? (
- INITIALIZING
AGENTS...
+ INITIALIZING
AGENTS...
) : (
diff --git a/frontend/src/pages/AuditTasks.tsx b/frontend/src/pages/AuditTasks.tsx
index ef1ecef..68af7a4 100644
--- a/frontend/src/pages/AuditTasks.tsx
+++ b/frontend/src/pages/AuditTasks.tsx
@@ -574,7 +574,7 @@ export default function AuditTasks() {
)}
{activeTab === "agent" && (
-