Browse Source

初始化位置

hwt 6 years ago
parent
commit
940a2b1b28
1 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/scripts/friendlist/FriendList.js

+ 1 - 0
assets/scripts/friendlist/FriendList.js

@@ -66,6 +66,7 @@ cc.Class({
         this.hasNext = 0;
         this.getNetworkData(false);
         this.canLoad = true;
+        this.scrollView.scrollToTop(0);
     },
 
     getNetworkData(ignoneRequestDuration) {