diff --git a/web/src/component/CountDownInput.js b/web/src/component/CountDownInput.js
index 30cb4f64..fdc60958 100644
--- a/web/src/component/CountDownInput.js
+++ b/web/src/component/CountDownInput.js
@@ -52,6 +52,7 @@ export const CountDownInput = (props) => {
const handleOk = () => {
setVisible(false);
onButtonClick(checkType, checkId, key, ...onButtonClickArgs).then(res => {
+ setKey("");
if (res) {
setCoolDown(true);
countDown(coolDownTime);
@@ -61,6 +62,7 @@ export const CountDownInput = (props) => {
const handleCancel = () => {
setVisible(false);
+ setKey("");
}
const loadHumanCheck = () => {
@@ -93,7 +95,7 @@ export const CountDownInput = (props) => {
}}
/>
- setKey(e.target.value)} />
+ setKey(e.target.value)} />
)
@@ -131,9 +133,15 @@ export const CountDownInput = (props) => {
onSearch={clickButton}
/>
{renderCheck()}
diff --git a/web/src/locales/en.json b/web/src/locales/en.json
index c246c1f9..fe7b129b 100644
--- a/web/src/locales/en.json
+++ b/web/src/locales/en.json
@@ -39,6 +39,7 @@
"Swagger": "Swagger",
"Phone Prefix": "Phone Prefix",
"Enter the code": "Enter the code",
+ "Captcha": "Captcha",
"Authorization code":"Authorization code",
"Access token":"Access token",
"Expires in":"Expires in",
@@ -168,6 +169,7 @@
"New password contains blank space.": "New password contains blank space.",
"Invalid new password": "Invalid new password",
"Password": "Password",
+ "OK": "OK",
"Cancel": "Cancel",
"input password": "input password",
"Reset Email...": "Reset Email...",
diff --git a/web/src/locales/zh.json b/web/src/locales/zh.json
index 6c4c2151..d9b6dadd 100644
--- a/web/src/locales/zh.json
+++ b/web/src/locales/zh.json
@@ -39,6 +39,7 @@
"Swagger": "API总览",
"Phone Prefix": "手机号前缀",
"Enter the code": "输入验证码",
+ "Captcha": "人机验证码",
"Authorization code": "授权码",
"Access token": "访问令牌",
"Expires in": "有效期",
@@ -168,6 +169,7 @@
"New password contains blank space.": "新密码包含空格。",
"Invalid new password": "非法的新密码。",
"Password": "密码",
+ "OK": "确定",
"Cancel": "取消",
"input password": "输入密码",
"Reset Email...": "重置邮箱...",