Browse Source

登录失败刷新验证码

RuoYi 7 năm trước cách đây
mục cha
commit
c41b58d478
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
             }
         }