fix(#I12N2Q): 宽屏滑块验证码高度不足
#Comment comment #I12N2Q #Issue close https://gitee.com/LongbowEnterprise/dashboard/issues?id=I12N2Q
This commit is contained in:
parent
3f997c5616
commit
35f51fb17c
|
@ -33,7 +33,7 @@
|
||||||
capHeight: function () {
|
capHeight: function () {
|
||||||
// 如果关闭 oAuth 认证 高度要缩小
|
// 如果关闭 oAuth 认证 高度要缩小
|
||||||
var height = 150;
|
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;
|
return height;
|
||||||
},
|
},
|
||||||
capRegSuccess: function () {
|
capRegSuccess: function () {
|
||||||
|
|
Loading…
Reference in New Issue