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