[]微信小游戏 gameThirdScriptError events

(unknown) gameThirdScriptError
Cannot read property 'events' of undefined
TypeError: Cannot read property 'events' of undefined
    at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29)
    at http://127.0.0.1:52880/game/code.js:14:71
    at Array.forEach (<anonymous>)
    at Object.__init (http://127.0.0.1:52880/game/code.js:14:36)
    at http://127.0.0.1:52880/game/code.js:21112:7
    at http://127.0.0.1:52880/game/code.js:21113:3
    at require (http://127.0.0.1:52880/game/__ ... :13675)
    at http://127.0.0.1:52880/game/__ ... 13424
    at http://127.0.0.1:52880/game/game.js:2:1
    at require (http://127.0.0.1:52880/game/__dev__/WAGame.js:3:13675)
 
主要代码拷贝的示例中的牛顿摆 、
本地是可以运行成功 发布成小游戏后就会报这个错 是我哪里设置不对还是什么原因呢
已邀请:

要回复问题请先

商务合作
商务合作