浏览代码

修改好友系统

smallqiang 5 年之前
父节点
当前提交
b33d8e394c
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 10 10
      assets/scripts/friend/GameFriendCtrl.js

+ 10 - 10
assets/scripts/friend/GameFriendCtrl.js

@@ -37,20 +37,20 @@ cc.Class({
 
         this.tabList = [{
             wrap: this.friendNode,
-            init: () => {
-            this._initFriend();
-        },
-        }, {
+                init: () => {
+                    this._initFriend();
+                },
+            }, {
             wrap: this.recommendNode,
                 init: () => {
-                this._initRecommend();
-            }
-        }, {
+                    this._initRecommend();
+                }
+            }, {
             wrap: this.searchNode,
                 init: () => {
-                this._initSearch();
-            }
-        }];
+                    this._initSearch();
+                }
+            }];
     },
 
     init(index = 0) {