소스 검색

captcha click add Time

MaxKey 4 년 전
부모
커밋
c89811f9c7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      maxkey-web-maxkey/src/main/resources/templates/views/login.ftl

+ 1 - 1
maxkey-web-maxkey/src/main/resources/templates/views/login.ftl

@@ -131,7 +131,7 @@
 		<#--on captcha image click ,new a captcha code-->
 		<#if true==isCaptcha>
 		$('#j_captchaimg').click(function () {//
-	           $(this).attr("src", "<@base />/captcha"); 
+	           $(this).attr("src", "<@base />/captcha"+(new Date()).getTime()); 
 		}); 
 		</#if>