Forráskód Böngészése

登录失败刷新验证码

RuoYi 7 éve
szülő
commit
c41b58d478
1 módosított fájl, 1 hozzáadás és 0 törlés
  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);
             }
         }