Explorar el Código

初始化位置

hwt hace 6 años
padre
commit
940a2b1b28
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {