"use client" import { useState } from "react" import Link from "next/link" import { usePathname } from "next/navigation" import { ChevronDown, Users, MessageSquare } from "lucide-react" export default function AdminSidebar() { const pathname = usePathname() const [expandedItems, setExpandedItems] = useState>({ 账号管理: true, }) const toggleExpand = (key: string) => { setExpandedItems((prev) => ({ ...prev, [key]: !prev[key], })) } const isActive = (path: string) => pathname === path return (

存客宝管理系统

) }