From 526b844e971a2e9cb28bcce24d2414eae8c518a5 Mon Sep 17 00:00:00 2001 From: yezian Date: Tue, 23 Jan 2024 18:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=9A=E5=91=98=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/vip/page.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/vip/page.jsx b/app/vip/page.jsx index 9864dec..b2ae66b 100644 --- a/app/vip/page.jsx +++ b/app/vip/page.jsx @@ -17,8 +17,10 @@ import vipright4 from "@/public/images/vipright4.png"; import viptitle from "@/public/images/viptitle.png"; import Link from "next/link"; import { Toast } from "antd-mobile"; +import { useRouter } from "next/navigation"; export default function Vip() { + const router = useRouter(); //检查用户是否是vip const [isVip, setIsVip] = useState(false); const [name, setName] = useState("");