收藏
回答

云测试iPhone 13 Pro报JS出错

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小游戏 Bug iOS 15.0.1 iPhone 13 Pro 8.0.42.33

基础库最低可用版本:2.27.2

MiniProgramError

Module.QuitCleanup is not a function. (In 'Module.QuitCleanup()', 'Module.QuitCleanup' is undefined)

TypeError: Module.QuitCleanup is not a function. (In 'Module.QuitCleanup()', 'Module.QuitCleanup' is undefined)

at _JS_RunQuitCallbacks@weapp: (wxfs/game.js:24685:40606)

wasm-stub@[wasm code]

<?>.wasm-function[j29675]@[wasm code]

<?>.wasm-function[redir_v]@[wasm code]

<?>.wasm-function[j39758]@[wasm code]

at wasm-stub (native code)

at browserIterationFunc@weapp: (wxfs/game.js:24685:305632)

at callUserCallback@weapp: (wxfs/game.js:24685:258502)

at runIter@weapp: (wxfs/game.js:24685:259811)

at Browser_mainLoop_runner@weapp: (wxfs/game.js:24685:257980)

at @weapp: (wxfs/game.js:24610:886)

at @weapp: (wxcommlib/WAGameSubContext.js:1:213286)

at forEach (native code)

at dt@weapp: (wechat-game-runtime:67:189109)

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

1 个回答

  • 张桦
    张桦
    2023-11-29

    这个bug是退出游戏时报错,原因是微信小游戏不能使用Application.Quit()接口,要调用wx.exitMiniProgram接口


    2023-11-29
    有用
    回复 1
    • 兰猫
      兰猫
      06-03
      这该怎么办啊?大佬
      06-03
      回复
登录 后发表内容