From 2740fb706258a9819ebb15d7c81618e958bdb2fc Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 23 Apr 2019 13:54:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(#IVQOR):=20=E8=A1=8C=E4=B8=BA=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E6=9C=AC=E5=9C=B0=E5=8A=A0=E8=BD=BD=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E4=B8=8D=E8=83=BD=E4=BD=BF=E7=94=A8=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #Issue https://gitee.com/LongbowEnterprise/dashboard/issues?id=IVQOR #Comment close #IVQOR --- Bootstrap.Admin/wwwroot/js/login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bootstrap.Admin/wwwroot/js/login.js b/Bootstrap.Admin/wwwroot/js/login.js index f2581b3f..aa1b05ad 100644 --- a/Bootstrap.Admin/wwwroot/js/login.js +++ b/Bootstrap.Admin/wwwroot/js/login.js @@ -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';