"use client";
import React from "react";
import { List } from "antd-mobile";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faAngleLeft } from "@fortawesome/free-solid-svg-icons";
import { useRouter } from "next/navigation";
import { handleLogout } from "@/api/public";
export default function Setting() {
const router = useRouter();
return (
{
router.back();
}}
/>
设置
{/* 内容 */}
{
handleLogout();
router.push("/login");
}}
>
退出账号
{/* {
router.push("/my/setting/switchAccount");
}}>切换账号 */}
{
router.push("/my/setting/editPassword");
}}
>
修改密码
{
router.push("/my/setting/bannedList");
}}
>
黑名单
{
router.push("/my/setting/feedback");
}}
>
意见反馈
{
router.push("/my/setting/deleteAccount");
}}
>
账号注销
{
router.push("/my/setting/aboutUs");
}}
>
关于我们
);
}