diff --git a/config_example/error_page/CAPTCHA.html b/config_example/error_page/CAPTCHA.html index fa90b8b..8a73f12 100644 --- a/config_example/error_page/CAPTCHA.html +++ b/config_example/error_page/CAPTCHA.html @@ -64,14 +64,17 @@ case "bad": alert("Bad CAPTCHA, please refresh the page and try again.\n" + "您未能通过人机验证,请刷新页面后重试。"); + window.location.reload(); break; case "timeout": alert("Verification timeout, please refresh the page and try again.\n" + "验证超时,请刷新页面后重试。"); + window.location.reload(); break; default: alert("Unexpected error occurred, please refresh the page and try again.\n" + "发生了意料之外的错误,请刷新页面后重试。"); + window.location.reload(); } } } @@ -86,7 +89,7 @@ + "加载人机验证失败,请检查尝试更换网络环境后重试。"; } } - setTimeout(checkCaptchaRender, 5000); // 5秒后检查 + setTimeout(checkCaptchaRender, 5000);