TypeError: Cannot read property 'webviewId' of undefined
at Function.Cr (WASubContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at l.<anonymous> (WASubContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at l.emit (WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at Object.emit (WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1
at l.<anonymous> (WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at l.emit (WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at Object.emit (WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1)
at WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1
at WAServiceMainContext.js?t=wechat&s=1668047141734&v=2.27.2:1(env: macOS,mp,1.06.2210310; lib: 2.27.2)
编译器报错,这个问题我查了一下,我并没有在onlaunch周期做任何跳转。
最近提审也总是被驳回白屏不知道是不是这个原因,但是不知道这个报错咋处理,什么原因。
希望能够获得解答,谢谢。
是 2.27.2 灰度的问题,正在修复重发。
undefined错误的克星就是console.log。
console.log(a.b.c.d)
console.log(a.b.c)
console.log(a.b)
console.log(a)
.....
找到某一个console.log的结果是undefined。
搞定。