报错:
TypeError: Cannot read property ‘workerId’ of undefined at Object.createWorker (<anonymous>:2:1873544) at Object.p.(anonymous function) [as createWorker] (<anonymous>:2:874168) at Object.<anonymous> (<anonymous>:2:663304) at Object.<anonymous> (<anonymous>:2:1878762) at Object.<anonymous> (<anonymous>:2:1878892) at s (<anonymous>:2:120252) at Object.<anonymous> (<anonymous>:2:120718) at <anonymous>:23261:197 at require (<anonymous>:2:2200096) at <anonymous>:23262:10
在开发者工具上没有遇到,开发日志里频繁出现该报错
在app.js中使用
const worker = wx.createWorker('workers/request/index.js')
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)