|
@ -9,29 +9,32 @@ import systemServ from "@/service/system.ts"; |
|
|
import { t } from "i18next"; |
|
|
import { t } from "i18next"; |
|
|
import SlideCapt, { SlideCaptRef } from "@/components/captcha/SlideCapt.tsx"; |
|
|
import SlideCapt, { SlideCaptRef } from "@/components/captcha/SlideCapt.tsx"; |
|
|
|
|
|
|
|
|
const languageSet = { |
|
|
|
|
|
向量检索服务免费试用: t("register.vectorRetrievalServiceFreeTrial", "向量检索服务免费试用"), |
|
|
|
|
|
免费试用向量检索服务玩转大模型生成式检索: t( |
|
|
|
|
|
"register.freeTrialVectorRetrievalService", |
|
|
|
|
|
"免费试用向量检索服务,玩转大模型生成式检索", |
|
|
|
|
|
), |
|
|
|
|
|
查看详情: t("register.viewDetails", "查看详情 >"), |
|
|
|
|
|
请输入邮箱: t("register.pleaseEnterEmail", "请输入邮箱"), |
|
|
|
|
|
获得验证码: t("register.getVerificationCode", "获得验证码"), |
|
|
|
|
|
秒后重试: t("register.retryAfterSeconds", "秒后重试"), |
|
|
|
|
|
请输入验证码: t("register.pleaseEnterVerificationCode", "请输入验证码"), |
|
|
|
|
|
请输入密码: t("register.pleaseEnterPassword", "请输入密码"), |
|
|
|
|
|
请确认密码: t("register.confirmPassword", "请确认密码"), |
|
|
|
|
|
两次输入的密码不一致: t("register.passwordsDoNotMatch", "两次输入的密码不一致"), |
|
|
|
|
|
点击进行校验: t("login.clickToVerify", "点击进行校验"), |
|
|
|
|
|
注册: t("register.register", "注册"), |
|
|
|
|
|
登录: t("register.login", "登录"), |
|
|
|
|
|
返回登录: t("register.backToLogin", "返回登录"), |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { Title, Text, Link } = Typography; |
|
|
const { Title, Text, Link } = Typography; |
|
|
|
|
|
|
|
|
const Register = memo(() => { |
|
|
const Register = memo(() => { |
|
|
|
|
|
|
|
|
|
|
|
const languageSet = { |
|
|
|
|
|
向量检索服务免费试用: t("register.vectorRetrievalServiceFreeTrial", "向量检索服务免费试用"), |
|
|
|
|
|
免费试用向量检索服务玩转大模型生成式检索: t( |
|
|
|
|
|
"register.freeTrialVectorRetrievalService", |
|
|
|
|
|
"免费试用向量检索服务,玩转大模型生成式检索", |
|
|
|
|
|
), |
|
|
|
|
|
查看详情: t("register.viewDetails", "查看详情 >"), |
|
|
|
|
|
请输入邮箱: t("register.pleaseEnterEmail", "请输入邮箱"), |
|
|
|
|
|
获得验证码: t("register.getVerificationCode", "获得验证码"), |
|
|
|
|
|
秒后重试: t("register.retryAfterSeconds", "秒后重试"), |
|
|
|
|
|
请输入验证码: t("register.pleaseEnterVerificationCode", "请输入验证码"), |
|
|
|
|
|
请输入密码: t("register.pleaseEnterPassword", "请输入密码"), |
|
|
|
|
|
请确认密码: t("register.confirmPassword", "请确认密码"), |
|
|
|
|
|
两次输入的密码不一致: t("register.passwordsDoNotMatch", "两次输入的密码不一致"), |
|
|
|
|
|
点击进行校验: t("login.clickToVerify", "点击进行校验"), |
|
|
|
|
|
注册: t("register.register", "注册"), |
|
|
|
|
|
登录: t("register.login", "登录"), |
|
|
|
|
|
返回登录: t("register.backToLogin", "返回登录"), |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
const navigate = useNavigate(); |
|
|
const navigate = useNavigate(); |
|
|
const [registerForm] = Form.useForm(); |
|
|
const [registerForm] = Form.useForm(); |
|
|
const { mutate: emailRegisterMutate } = useAtomValue(emailRegisterAtom); |
|
|
const { mutate: emailRegisterMutate } = useAtomValue(emailRegisterAtom); |
|
|