Explorar o código

验证码刷新问题

psj0001 hai 4 meses
pai
achega
ba1a0f7059
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      src/view/login/LoginRight.vue

+ 1 - 4
src/view/login/LoginRight.vue

@@ -194,6 +194,7 @@ export default {
 
         var result
         var rows
+        this.draw()
         try {
           result = data.msg;
          rows = result[0].Rows;
@@ -214,7 +215,6 @@ export default {
             type:'error',
             message:'登录失败'
           })
-          this.draw()
           return;
         }
         var rowcount = result[0].TotalRowCount;
@@ -223,7 +223,6 @@ export default {
             type:'error',
             message:'登录失败'
           })
-          this.draw()
           return;
         }
         var time2 = new Date(rows[0]["GETTIME"]).getTime() - new Date(rows[0]["LAST_TIME"]).getTime();
@@ -253,7 +252,6 @@ export default {
             type:'error',
             message:'登录失败'
           })
-          this.draw()
           return;
         }
         if (rows[0].ROLE_CODE != "0"
@@ -262,7 +260,6 @@ export default {
             type:'error',
             message:'登录失败'
           })
-          this.draw()
           return;
         }
         var LOGIN_LOCK = rows[0]["LOGIN_LOCK"];