"use client"; import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleRight } from "@fortawesome/free-solid-svg-icons"; import { Avatar, Image } from "antd-mobile"; import { useRouter,useSearchParams } from "next/navigation"; import withAuth from "@/components/WithAuth"; const My = () => { const searchParams = useSearchParams(); const router = useRouter(); return (
router.push("my/editUserProfile/selectUserProfileItem")}>
router.push("my/setting")}>
router.push("profile")}>

测试账号

213422
{ searchParams.append() router.back(); }} />
{/* 会员用户 */} {/*
*/} {/* 普通用户 */}
); } export default withAuth(My)