修改BUG:登录页面行为验证码抛异常 closed #IVAUH
#Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=IVAUH
This commit is contained in:
parent
d43a993ce8
commit
b79b8b8d57
|
@ -98,8 +98,8 @@
|
|||
return 'http://pocoafrro.bkt.clouddn.com/Pic' + Math.round(Math.random() * 136) + '.jpg';
|
||||
},
|
||||
onSuccess: function () {
|
||||
var parent = this.$element.parents('.slidercaptcha').removeClass('d-block');
|
||||
this.reset();
|
||||
var parent = this.parents('.slidercaptcha').removeClass('d-block');
|
||||
this.sliderCaptcha('reset');
|
||||
if (parent.hasClass('reg')) {
|
||||
$.capRegSuccess();
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
Object.assign(this, {
|
||||
canvas,
|
||||
block,
|
||||
sliderContainer : $(sliderContainer),
|
||||
sliderContainer: $(sliderContainer),
|
||||
refreshIcon,
|
||||
slider,
|
||||
sliderMask,
|
||||
|
@ -250,7 +250,7 @@
|
|||
setTimeout(() => {
|
||||
that.text.text(that.options.failedText);
|
||||
that.reset();
|
||||
}, 1000)
|
||||
}, 1000);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -261,8 +261,8 @@
|
|||
document.addEventListener('mouseup', handleDragEnd);
|
||||
document.addEventListener('touchend', handleDragEnd);
|
||||
|
||||
document.addEventListener('mousedown', function() { return false; });
|
||||
document.addEventListener('touchstart', function() { return false; });
|
||||
document.addEventListener('mousedown', function () { return false; });
|
||||
document.addEventListener('touchstart', function () { return false; });
|
||||
};
|
||||
|
||||
_proto.verify = function () {
|
||||
|
|
Loading…
Reference in New Issue