Browse Source

修改Tab栏好友列表过滤条件

sa03 6 years ago
parent
commit
b95e1944c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/scripts/Tab.js

+ 1 - 1
assets/scripts/Tab.js

@@ -124,7 +124,7 @@ cc.Class({
             let _friendList = data.users || [];
             // 过滤好友申请项
             _friendList = _friendList.filter(n => {
-                return n.role != 0
+                return n.isApplied != 1
             });
 
             Global.friendList = this.friends = _friendList;