Browse Source

Update login.js

tags/6.2.12
叙述、别离 1 year ago
parent
commit
9038680bab
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/static/web/js/login.js

+ 5
- 5
src/static/web/js/login.js View File

@@ -1,8 +1,8 @@
$(document).ready(function () {
$("#iptUserid").focusout(function () {
$(document).ready(function() {
$("#iptUserid").focusout(function() {
let userid = $(this).val(); let userid = $(this).val();
if (userid !== '') { 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.code === 0) {
if (rs.data.isNeed) { if (rs.data.isNeed) {
$("#vdimgck").show(); $("#vdimgck").show();
@@ -12,5 +12,5 @@ $(document).ready(function () {
} }
}); });
} }
})
})
});
});

Loading…
Cancel
Save