diff --git a/web/app/admin/layout.tsx b/web/app/admin/layout.tsx index c273a08..2c12bd7 100644 --- a/web/app/admin/layout.tsx +++ b/web/app/admin/layout.tsx @@ -10,6 +10,7 @@ import { isAuthenticated, type AuthUser } from '@/lib/auth' +import Link from 'next/link' const navItems = [ { key: 'endpoints', label: 'API端点', href: '/admin' }, @@ -80,15 +81,17 @@ export default function AdminLayout({