|
|
@ -1,13 +1,9 @@ |
|
|
|
import { Layout, Tabs, Input, Button, Typography, Row, Col, Form } from "antd"; |
|
|
|
import { QrcodeOutlined, UserOutlined, LockOutlined } from "@ant-design/icons"; |
|
|
|
import SelectLang from "@/components/select-lang"; |
|
|
|
import { createFileRoute, useNavigate } from "@tanstack/react-router"; |
|
|
|
import { useAtom, useAtomValue } from "jotai"; |
|
|
|
import { useTranslation } from "@/i18n.ts"; |
|
|
|
import { |
|
|
|
emailCodeAtom, |
|
|
|
emailLoginAtom, |
|
|
|
telegramCodeAtom, |
|
|
|
telegramLoginAtom, |
|
|
|
upLoginAtom, |
|
|
|
} from "@/store/system/user.ts"; |
|
|
@ -15,6 +11,8 @@ import React, { memo, useEffect, useLayoutEffect, useRef, useState } from "react |
|
|
|
import systemServ from "@/service/system.ts"; |
|
|
|
import SlideCapt, { SlideCaptRef } from "@/components/captcha/SlideCapt.tsx"; |
|
|
|
import { t } from "i18next"; |
|
|
|
import Verification from "@/components/captcha/Verification.tsx"; |
|
|
|
|
|
|
|
|
|
|
|
const { Title, Text, Link } = Typography; |
|
|
|
const { TabPane } = Tabs; |
|
|
@ -259,6 +257,7 @@ const Login = memo(() => { |
|
|
|
checkCaptcha: systemServ.captchaCheck, |
|
|
|
}} |
|
|
|
/> |
|
|
|
<Verification content={"调试用"}/> |
|
|
|
</Form.Item> |
|
|
|
<Button type="primary" htmlType="submit" style={{ width: "100%" }}> |
|
|
|
{languageSet.登录} |
|
|
|