- 安卓运行小程序,worker线程里面引入的SDK报错,IOS正常,这是什么情况?程序发布了好久了
基础库是3.2.5 worker里面的代码很简单 const { AudioFusionLocationEngineLib4Wx } = require('./utils/AudioFusionLocationEngineLib4Wx.js') 报错: [worker] Uncaught <Error: https://lib/WAWorker.js:1: TypeError: Cannot assign to read only property 'toString' of object '#<n>'> TypeError: Cannot assign to read only property 'toString' of object '#<n>' at Object.<anonymous> (https://usr/workers.js:9:21380) at e.exports.3.base64-js (https://usr/workers.js:9:29032) at o (https://usr/workers.js:9:6672) at https://usr/workers.js:9:6707 at e.exports.11.buffer (https://usr/workers.js:9:40676) at o (https://usr/workers.js:9:6672) at https://usr/workers.js:9:6707 at e.exports.1.buffer (https://usr/workers.js:9:13297) at o (https://usr/workers.js:9:6672) at t (https://usr/workers.js:9:6803) 程序发布了几个月了 一直都没问题,线上今天出现这个问题,安卓全部都不能使用,IOS正常
06-20 - 插件无法使用worker
https://developers.weixin.qq.com/miniprogram/dev/api/worker/wx.createWorker.html[图片]
2022-04-08