收藏
回答

WXWebAssembly在插件组件中和插件worker中为什么使用不一致?

插件组件中正常运行

插件worker中使用会报错

 <Error: load wasm failed!>
@[native code]
@https://lib/WAWorker.js:1:512790
W@https://lib/WAWorker.js:1:72646
instantiate@https://lib/WAWorker.js:1:512704
@https://res.servicewechat.com/weapp/debug/wx6227afa89c345815/1/__plugin__/wx6227afa89c345815/workers.js:9:28
init@https://res.servicewechat.com/weapp/debug/wx6227afa89c345815/1/__plugin__/wx6227afa89c345815/workers.js:8:21
@https://res.servicewechat.com/weapp/debug/wx6227afa89c345815/1/__plugin__/wx6227afa89c345815/workers.js:5:7
@https://lib/WAWorkerSubContext.js:1:168955
@https://lib/WAWorker.js:1:221318
forEach@[native code]
@https://lib/WAWorker.js:1:221289
@https://lib/WAWorker.js:1:232778
@https://lib/WAWorker.js:1:459778
@https://lib/WAWorker.js:1:162073
forEach@[native code]
y@https://lib/WAWorker.js:1:162044
global code@
回答关注问题邀请回答
收藏
登录 后发表内容