From 661be6eb4078e2dca48ac499f54a16e3259db72b Mon Sep 17 00:00:00 2001 From: lihan <3398341942@qq.com> Date: Thu, 8 Nov 2018 13:52:52 +0800 Subject: [PATCH] 赠送积分和角色管理 --- public/themes/simpleboot3/friendship/friend_list.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/public/themes/simpleboot3/friendship/friend_list.html b/public/themes/simpleboot3/friendship/friend_list.html index 2d49236..4da3eab 100644 --- a/public/themes/simpleboot3/friendship/friend_list.html +++ b/public/themes/simpleboot3/friendship/friend_list.html @@ -411,9 +411,14 @@ success: function (data) { alert(data.msg); - //清空数据 - for(var i=0;i<txts.length;i++){ - $(txts[i]).val("") + if(data.status === true) { + $(".passwordpop").hide(); + alert(data.msg); + }else { + //清空数据 + for (var i = 0; i < txts.length; i++) { + $(txts[i]).val("") + } } } }) -- libgit2 0.24.0