cocos2djs中PageView的scrollToPage()方法直接使用无效的解决方法

同上一篇一样,使用延时调用的方法就可以解决!

contentPageView.runAction(cc.sequence(cc.delayTime(0.1),cc.callFunc(function () {
            contentPageView.scrollToPage(index);
})),this);
原文地址:https://www.cnblogs.com/jacket/p/5694055.html