parent
a7a1a208dc
commit
33fb9caa69
|
@ -3,11 +3,12 @@ import { forwardRef, useState, useImperativeHandle, useEffect } from "react";
|
|||
import { Md5 } from "ts-md5";
|
||||
import { sendCode } from "../api";
|
||||
import useUserStore from "../store/user";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/*
|
||||
* @LastEditors: John
|
||||
* @Date: 2024-06-06 16:41:24
|
||||
* @LastEditTime: 2024-06-06 20:25:13
|
||||
* @LastEditTime: 2024-06-06 21:07:00
|
||||
* @Author: John
|
||||
*/
|
||||
export type SilderVertify_handleType = {
|
||||
|
@ -39,6 +40,7 @@ const SilderVertify = forwardRef<
|
|||
const [smallImage, setSmallImage] = useState<string>("");
|
||||
const [smallImageY, setSmallImageY] = useState(0);
|
||||
const { SelectCountry, Lang } = useUserStore();
|
||||
const { t } = useTranslation();
|
||||
useImperativeHandle(ref, () => {
|
||||
return {
|
||||
_init() {
|
||||
|
@ -86,7 +88,7 @@ const SilderVertify = forwardRef<
|
|||
gap: "10px",
|
||||
}}
|
||||
>
|
||||
<span>请完成安全验证</span>
|
||||
<span>{t("Complete security verification")}</span>
|
||||
<div
|
||||
style={{
|
||||
width: "100%",
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
"send successfully": "發送成功",
|
||||
"Send failure": "發送失敗",
|
||||
"Invalid phone number": "無效手機號碼",
|
||||
"Invalid email": "無效電子郵件"
|
||||
"Invalid email": "無效電子郵件",
|
||||
"Complete security verification": "完成安全驗證"
|
||||
}
|
||||
|
|
|
@ -21,5 +21,6 @@
|
|||
"send successfully": "send successfully",
|
||||
"Send failure": "Send failure",
|
||||
"Invalid phone number": "Invalid phone number",
|
||||
"Invalid email": "Invalid email"
|
||||
"Invalid email": "Invalid email",
|
||||
"Complete security verification": "Complete security verification"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue