import { LoginFormPage, ProFormText } from '@ant-design/pro-components'; import { Alert, Typography, message } from 'antd'; import { Bot, LockKeyhole, UserRound } from 'lucide-react'; import { history } from '@umijs/max'; import { useState } from 'react'; import { apiRequest, jsonOptions, setCsrfToken } from '@/services/api'; import type { AdminUser } from '@/types'; export default function LoginPage() { const [error, setError] = useState(''); return (
); }