收藏
回答

ts用es6编译的js不支持promise?

Uncaught (in promise) gameThirdScriptError

undefined is not an object (evaluating 't.done')

at step (game.js:10:249)

at  (game.js:10:349)

at E (WAGameSubContext.js:2:66727)

at  (game.js:10:96)

at  (game.js:10:228942)

at run (game.js:31:287974)

at _update (game.js:31:287255)

at render (game.js:31:295888)

at _loop (game.js:31:294909)

at loop (game.js:31:189322)

at  (WAGameSubContext.js:2:132818)


运行时会报上面的错误....

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签