cocos 2d

280 阅读1分钟

1.onLoad调用了两次

  • 脚本引用了两次造成的

2.PageView动态添加

  • that.page_view.addPage(item)
  • 设置中 mode 一定要设置container