From 9038680babec6a5f35912b1427ee5570ad98e8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <2449271624@qq.com> Date: Thu, 7 Sep 2023 18:28:02 +0800 Subject: [PATCH] Update login.js --- src/static/web/js/login.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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