ソースを参照

登录失败刷新验证码

zhouna 3 年 前
コミット
3985aabd52
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/js/login.js

+ 2 - 0
src/js/login.js

@@ -175,11 +175,13 @@ function sureLogin() {
         window.location.href = 'index.html' + hideLgPm + otherLogoPm;
       }, 600);
     } else {
+        getSecurityCode();//登录失败切换验证码
       $(".divModal").remove()
       if (type == 1) {
         toast(data.msg);
       } else {
         $(".login .waring").css('visibility', 'visible').html(data.msg)
+
       }
 
     }