fix(#I12N2Q): 宽屏滑块验证码高度不足

#Comment
comment #I12N2Q

#Issue
close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12N2Q
This commit is contained in:
Argo Zhang 2019-09-25 11:12:56 +08:00
parent 3f997c5616
commit 35f51fb17c
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
capHeight: function () {
// 如果关闭 oAuth 认证 高度要缩小
var height = 150;
if ($(window).height() < 768) height = $('.slidercaptcha:first').hasClass('oauth') ? 96 : 150;
if ($(window).width() < 768) height = $('.slidercaptcha:first').hasClass('oauth') ? 96 : 150;
return height;
},
capRegSuccess: function () {