"use client"; import { usePathname } from "next/navigation"; import Link from "next/link"; export default function BillLayout({ children }) { const pathname = usePathname(); return (
{pathname.split("/").length < 4 && (
充值 消费 收益 提现
)}
{children}
); }