src/main/resources/static/js/login.js
@@ -1,7 +1,5 @@ window.isBusy = false; window.code = ""; // 创建验证码 function createCode() { var codeLength = 4, code = ""; // 验证码的长度 @@ -55,6 +53,7 @@ $("#inputCode").focus(); return false; } var code = document.getElementById("checkCode").innerHTML; if (inputCode.toUpperCase() != code.toUpperCase()) { $("#eMsg").html("提示:验证码输入有误!"); $("#inputCode").val("").focus();