From fec0a87cee04df67ab92ae7a78dc91fef0b11df0 Mon Sep 17 00:00:00 2001 From: lk Date: Sat, 14 Sep 2024 16:42:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=20=E4=BF=AE=E6=94=B9=20=20?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=20=20=20=E4=BA=BA=E6=9C=BA=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=20=20=E5=A4=9A=E8=AF=AD=E8=A8=80=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/use/login/index.tsx | 7 +++---- src/pages/use/register/index.tsx | 41 +++++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/src/pages/use/login/index.tsx b/src/pages/use/login/index.tsx index cb06b6c..bdb8f27 100644 --- a/src/pages/use/login/index.tsx +++ b/src/pages/use/login/index.tsx @@ -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, }} /> +