"use client"; import React, { useState } from "react"; import { SwipeAction, Image, Avatar, Divider, Button } from "antd-mobile"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faAngleLeft, faRemove, faAdd, faCheck, } from "@fortawesome/free-solid-svg-icons"; import { useRouter } from "next/navigation"; const rightActions = [ { key: "delete", text: (
删除
), color: "danger", }, ]; export default function SwitchAccount() { const [accountList, setAccountList] = useState([1, 2]); const router = useRouter(); return (
{ router.back(); }} />

切换账号

{/* 内容 */}
添加或注册账号
); }