收藏
回答

iOS 报错MiniProgramError Can't find variable: status

框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
小游戏 Bug iOS ios15.0-ios15.1 iPhone 13 云测试,没找到微信版本号

小游戏开启ios高性能模式云测试的时候,出现以下报错。

安卓测试没有遇到过以下报错。


MiniProgramError

Can't find variable: status

ReferenceError: Can't find variable: status

at @weapp: (wxfs/game.js:24528:37492)

at @weapp: (wxfs/game.js:24528:36703)

at runWith@weapp: (wxfs/game.js:24501:16675)

at loadCompleteCore@weapp: (wxfs/game.js:24501:363820)

at run@weapp: (wxfs/game.js:24501:16347)

at event@weapp: (wxfs/game.js:24501:17200)

at _endLoad@weapp: (wxfs/game.js:24501:362274)

at onLoaded@weapp: (wxfs/game.js:24501:361628)

at @weapp: (wxfs/game.js:24501:361511)

at runWith@weapp: (wxfs/game.js:24501:16675)

at event@weapp: (wxfs/game.js:24501:17191)

at onError@weapp: (wxfs/game.js:24501:349721)

at runWith@weapp: (wxfs/game.js:24501:16675)

at event@weapp: (wxfs/game.js:24501:17191)

at error@weapp: (wxfs/game.js:24501:346156)

at _onLoad@weapp: (wxfs/game.js:24501:346049)

at @weapp: (wxfs/game.js:24501:345455)

at _triggerEvent@weapp: (wxfs/game.js:24537:21001)

at success@weapp: (wxfs/game.js:24537:23029)

at @weapp: (wxfs/game.js:18092:67)

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

at @weapp: (wechat-game-runtime:1:1226425)

at @weapp: (wechat-game-runtime:1:1163839)

at p@weapp: (wechat-game-runtime:1:191204)

at u@weapp: (wechat-game-runtime:1:489313)

at @weapp: (wechat-game-runtime:1:296513)

at p@weapp: (wechat-game-runtime:1:191204)

at @weapp: (wechat-game-runtime:1:438294)

at forEach (native code)

at emit@weapp: (wechat-game-runtime:1:438217)

at O@weapp: (wechat-game-runtime:1:297581)

at @weapp: (wechat-game-runtime:1:298959)

at @weapp: (wechat-game-runtime:1:461741)

at emit@weapp: (wechat-game-runtime:1:119843)

at emit (native code)

at emit@weapp: (wechat-game-runtime:1:116054)

at subscribeHandler@weapp: (wechat-game-runtime:1:118699)

at @weapp: (wechat-game-runtime:67:119031)

at forEach (native code)

at @weapp: (wechat-game-runtime:67:118994)

at z@weapp: (wechat-game-runtime:1:69286)

at @weapp: (wechat-game-runtime:1:70913)

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

2 个回答

  • 袁梓民
    袁梓民
    2023-06-10

    文档有写,代码有严格模式问题

    2023-06-10
    有用
    回复 1
    • 東
      2023-06-12
      好的,我检查看看
      2023-06-12
      回复
  • 天津老郭666
    天津老郭666
    02-08

    删除小程序,再重新启动就行了


    02-08
    有用
    回复
登录 后发表内容