diff --git a/src/static/web/js/login.js b/src/static/web/js/login.js index e7024835..34636ad5 100644 --- a/src/static/web/js/login.js +++ b/src/static/web/js/login.js @@ -1,8 +1,8 @@ -$(document).ready(function () { - $("#iptUserid").focusout(function () { +$(document).ready(function() { + $("#iptUserid").focusout(function() { let userid = $(this).val(); if (userid !== '') { - $.get("api.php?action=is_need_check_code&userid=" + userid, function (rs) { + $.get("api.php?action=is_need_check_code&userid=" + userid, function(rs) { if (rs.code === 0) { if (rs.data.isNeed) { $("#vdimgck").show(); @@ -12,5 +12,5 @@ $(document).ready(function () { } }); } - }) -}) \ No newline at end of file + }); +}); \ No newline at end of file