Explorar o código

修改好友系统

smallqiang %!s(int64=5) %!d(string=hai) anos
pai
achega
b33d8e394c
Modificáronse 1 ficheiros con 10 adicións e 10 borrados
  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) {