如何解决 cannot read property 'hide' of undefined

来源:7-27 积分逻辑的开发

liaoxuehua

2019-05-08

在game-page的页面hide出现的问题 请问老师咋个解决呢

写回答

1回答

千迦

2019-05-08

截个图看看

0
2
liaoxuehua
VM144:1 gameThirdScriptError Cannot read property 'hide' of undefined;at setTimeout callback function TypeError: Cannot read property 'hide' of undefined at GameView.showGameOverPage (http://127.0.0.1:63098/game/src/game/view.js:34:20) at Array. (http://127.0.0.1:63098/game/src/game/controller.js:34:21) at Event.notify (http://127.0.0.1:63098/game/src/utils/event.js:33:27) at GameModel.setStage (http://127.0.0.1:63098/game/src/game/model.js:34:25) at Object.showGameOverPage (http://127.0.0.1:63098/game/src/game/controller.js:58:23) at Function. (http://127.0.0.1:63098/game/src/pages/game-page.js:100:21) at http://127.0.0.1:63098/game/__dev__/WAGame.js:1:213995 at http://127.0.0.1:63098/game/__dev__/WAGame.js:1:87358
2019-05-09
共2条回复

three.js-打造微信小游戏跳一跳 快速掌握3D游戏开发

three.js+WebGL+微信小游戏API, 带你进入3D的游戏世界

793 学习 · 147 问题

查看课程