浏览代码

初始化位置

hwt 6 年之前
父节点
当前提交
940a2b1b28
共有 1 个文件被更改,包括 1 次插入0 次删除
  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) {