收藏
回答

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)


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

回答关注问题邀请回答
收藏

1 个回答

  • Z.Z.
    Z.Z.
    2020-04-01

    遇到同样的问题,请问解决了吗

    2020-04-01
    有用
    回复 1
    • Chiuan
      Chiuan
      2020-09-04
      Laya官方论坛我发了解决方案。可以瘦瘦看。
      2020-09-04
      回复
登录 后发表内容
问题标签