修复会员页面bug
This commit is contained in:
parent
9ee79025cc
commit
526b844e97
|
@ -17,8 +17,10 @@ import vipright4 from "@/public/images/vipright4.png";
|
||||||
import viptitle from "@/public/images/viptitle.png";
|
import viptitle from "@/public/images/viptitle.png";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { Toast } from "antd-mobile";
|
import { Toast } from "antd-mobile";
|
||||||
|
import { useRouter } from "next/navigation";
|
||||||
|
|
||||||
export default function Vip() {
|
export default function Vip() {
|
||||||
|
const router = useRouter();
|
||||||
//检查用户是否是vip
|
//检查用户是否是vip
|
||||||
const [isVip, setIsVip] = useState(false);
|
const [isVip, setIsVip] = useState(false);
|
||||||
const [name, setName] = useState("");
|
const [name, setName] = useState("");
|
||||||
|
|
Loading…
Reference in New Issue