From 242ecbc57432de6188f7144056e44aca2c94a21b Mon Sep 17 00:00:00 2001
From: lihan <3398341942@qq.com>
Date: Thu, 8 Nov 2018 14:17:47 +0800
Subject: [PATCH] 赠送积分和角色管理

---
 public/themes/simpleboot3/friendship/friend_list.html |  9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/public/themes/simpleboot3/friendship/friend_list.html b/public/themes/simpleboot3/friendship/friend_list.html
index b1eed27..e1677b7 100644
--- a/public/themes/simpleboot3/friendship/friend_list.html
+++ b/public/themes/simpleboot3/friendship/friend_list.html
@@ -415,10 +415,11 @@
                                 $(".passwordwrap").css("display","none")
                                 alert(data.msg);
                             }else {
-                                //清空数据
-                                for (var i = 0; i < txts.length; i++) {
-                                    $(txts[i]).val("")
-                                }
+                                alert(data.msg);
+                            }
+                            //清空数据
+                            for (var i = 0; i < txts.length; i++) {
+                                $(txts[i]).val("")
                             }
                         }
                     })
--
libgit2 0.24.0