微信小程序将调试基础库升级到3.2.1(调试库3.2.0都是正常的)之后,部分页面报错:TypeError: Boolean is not a function。导致界面不能正常显示,只显示一个白板。具体的详细报错信息如下:
WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1 TypeError: Boolean is not a function
at Ss.doLazyLoadReport (WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1)
at Ss.injectComponentsRecursively (WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1)
at Module.fs (WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1)
at r.create (WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1)
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
at WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1(env: macOS,mp,1.06.2308291; lib: 3.2.1)
errorReport @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
b @ WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1
Wt.emit @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
emitInternal @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
Qx @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
R @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
Wt.emit @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
emit @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
(anonymous) @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
emit @ WAServiceMainContext.js?t=wechat&s=1700185228759&v=3.2.1:1
c @ VM14 asdebug.js:1
d @ VM14 asdebug.js:1
(anonymous) @ VM14 asdebug.js:1
g @ VM14 asdebug.js:1
p @ VM14 asdebug.js:1
(anonymous) @ VM14 asdebug.js:1
_ws.onmessage @ VM14 asdebug.js:1
WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1 Fri Nov 17 2023 10:00:58 GMT+0800 (China Standard Time) Page route 错误(system error)
WASubContext.js?t=wechat&s=1700185228759&v=3.2.1:1 routeDone with a webviewId 33 that is not the current page(env: macOS,mp,1.06.2308291; lib: 3.2.1)
请问应该如何解决,在线等急!已经影响到线上的服务了。
就是只有3.2.1有问题,你现在降到3.2.0是正常的对吧