具体报错内容样本如下
解决了,这个是微信爬虫引起的。估计是爬虫引擎有缺陷。
webviewScriptError
Cannot read property ‘_formId’ of undefined;[Exparser] [Error] [Component] Event Listener Error @ wx-button#(anonymous)
TypeError: Cannot read property ‘_formId’ of undefined
at n._onThisTap (WAWebview.js:1:716848)
at n.<anonymous> (WAWebview.js:1:232673)
at i.safeCallback (WAWebview.js:1:136171)
at i.call (WAWebview.js:1:136064)
at o (WAWebview.js:1:139337)
at WAWebview.js:1:139949
at p (WAWebview.js:1:138871)
at Function.l.dispatchEvent (WAWebview.js:1:139835)
at Function.l.triggerEvent (WAWebview.js:1:140049)
at n.m.triggerEvent (WAWebview.js:1:217488)
感觉是微信小程序内部报错而非第三方脚本报错,但并非所有项目都有这个问题,请问什么情况下会引发这种类型的报错