smallqiang 5 rokov pred
rodič
commit
b33d8e394c
1 zmenil súbory, kde vykonal 10 pridanie a 10 odobranie
  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) {