diff --git a/src/main/resources/static/js/selectTree/selectTree.js b/src/main/resources/static/js/selectTree/selectTree.js index 6faad4f539c64bcfc2ae3343d9d95b4e0b842e18..266d496c7587e025dddd314880622b1f1086dc3d 100644 --- a/src/main/resources/static/js/selectTree/selectTree.js +++ b/src/main/resources/static/js/selectTree/selectTree.js @@ -61,7 +61,7 @@ $(document).ready(function(){ if(v.length > 0) { v = v.substring(0, v.length-1); }; - $("#relationTypeId").html(relationTypeId);//将选中的值放到select + $("#areacode").html(relationTypeId);//将选中的值放到select $('.pull-left1', '#relationBtn').text(v).attr('title', v);//将中文(要显示的内容)放到button中显示 if(v == ""){//如果没有选中任何值,显示默认内容 $('.pull-left1', '#relationBtn').text('请选择').attr('title', '请选择'); diff --git a/src/main/resources/templates/changepwd.html b/src/main/resources/templates/changepwd.html index a4b368904da14ae5937911a3e28affa792c4e3d2..ffd365cc5771fd68160bfef40d60ff80ea16bb93 100644 --- a/src/main/resources/templates/changepwd.html +++ b/src/main/resources/templates/changepwd.html @@ -1,4 +1,4 @@ - + @@ -57,7 +57,7 @@ var passwordN = $("#passwordN").val(); var passwordC = $("#passwordC").val(); if(passwordN !== passwordC){ - alter("两次密码不匹配") + alert("两次密码不匹配") return false; } var validators = new InputValidators(); @@ -85,7 +85,7 @@ // setCookie("token",data.data.token,2*60*60*1000); alert("操作成功!"); }else{ - alert(data.message); + alert("帐号信息有误!"); } }, error: function () { diff --git a/src/main/resources/templates/register.html b/src/main/resources/templates/register.html index cda0d15c2637ec4ff90d074063a139deefd39782..1848126b4e70828eb60170ef2a5e02c90bf17d06 100644 --- a/src/main/resources/templates/register.html +++ b/src/main/resources/templates/register.html @@ -28,6 +28,7 @@ +