运行小程序偶尔出现的错误提示TypeError: Cannot read pro
发布于 5 年前 作者 gongyan 4776 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径
  • 提供一个最简复现 Demo

不总出现,四五次出现一次,怎么解决求助

TypeError: Cannot read property ‘beforeAll’ of undefined

    at WAService.js:12

    at n (WAService.js:6)

    at e (appservice?t=1556594641410:1680)

    at r.registerCallback.t (appservice?t=1556594641410:1680)

    at u.forEach.t (appservice?t=1556594641410:1680)

    at Array.forEach (<anonymous>)

    at appservice?t=1556594641410:1680

    at WebSocket.a.onmessage (appservice?t=1556594641410:1680)

3 回复

你好,这个是什么情况下出现的呢?真机有这个问题么?

麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

真机没试过呢,就是平时刷新程序的时候会出,没影响。就是不知道为什么!不知道那出问题,没法发代码

我的也是😂

回到顶部