diff --git a/WebRoot/WEB-INF/jsp/system/index/login.jsp b/WebRoot/WEB-INF/jsp/system/index/login.jsp index f0a82b4..c102b86 100644 --- a/WebRoot/WEB-INF/jsp/system/index/login.jsp +++ b/WebRoot/WEB-INF/jsp/system/index/login.jsp @@ -353,6 +353,23 @@ input:focus-within{ var passWordList=[]; //console.log(JSON.parse(storage.getItem('userNameList'))); + $("#loginname").focus(function(e){ + $("#password").attr("type","password"); + var _html=""; + var u_list=JSON.parse(storage.getItem('userNameList')); + console.log(u_list); + if((u_list!=null)||(u_list.length>0)){ + $("#loginname").blur(function(){ + $(".history").hide(); + }) + for(var i=0;i'; + } + $(".history ul").html(_html); + $(".history").show(); + } + }); + //清除历史记录 function clear_history(){ window.top.remove.init({"title":"确定清除历史记录吗?","func":function(success){