Browse Source

登录失败刷新验证码

RuoYi 7 years ago
parent
commit
c41b58d478
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/resources/static/ruoyi/login.js

+ 1 - 0
src/main/resources/static/ruoyi/login.js

@@ -32,6 +32,7 @@ function login() {
             if (r.code == 0) {
                 parent.location.href = ctx + 'index';
             } else {
+            	$('.imgcode').click();
                 layer.msg(r.msg);
             }
         }