|
@@ -19,7 +19,7 @@
|
|
|
<hr class="hr15">
|
|
|
@if(kaptchaEnable){
|
|
|
<input placeholder="验证码" id="code" name="code" type="text" class="codeInput loginInput">
|
|
|
- <img src="captcha.jpg" alt="验证码" id="imgCode" class="codeImg" title="单击图片刷新!">
|
|
|
+ <img src="${ctxPath}/captcha.jpg" alt="验证码" id="imgCode" class="codeImg" title="单击图片刷新!">
|
|
|
<hr class="hr15">
|
|
|
@}
|
|
|
<input value="登录" style="width: 100%;" type="button" id="loginBtn">
|
|
@@ -52,7 +52,7 @@
|
|
|
|
|
|
@if(kaptchaEnable){
|
|
|
function refreshCode() {
|
|
|
- $('#imgCode').attr('src', "captcha.jpg?t=" + $.now());
|
|
|
+ $('#imgCode').attr('src', ${ctxPath} + "/captcha.jpg?t=" + $.now());
|
|
|
}
|
|
|
@}
|
|
|
|