fix(#IVQOR): 行为验证码本地加载路径不能使用所有情况
#Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=IVQOR #Comment close #IVQOR
This commit is contained in:
parent
2d341f0487
commit
2740fb7062
|
@ -96,7 +96,8 @@
|
|||
width: $.capWidth(),
|
||||
height: $.capHeight(),
|
||||
localImages: function () {
|
||||
return '../../lib/captcha/images/Pic' + Math.round(Math.random() * 4) + '.jpg';
|
||||
var base = $('#pathBase').attr('href');
|
||||
return base + 'lib/captcha/images/Pic' + Math.round(Math.random() * 4) + '.jpg';
|
||||
},
|
||||
setSrc: function () {
|
||||
return $imgUrl.val() + 'Pic' + Math.round(Math.random() * 136) + '.jpg';
|
||||
|
|
Loading…
Reference in New Issue