开发工具版本1.06.2504010
在打开新页面后,请求服务器后控制台报错。
DOMException: Failed to execute 'postMessage' on 'Worker': function(e){var t={},r=this.__wxElement;if(r&&k.Component.isComponent(r)){var n="wx-"+r.is;if(k.Component.getMe...<omitted>...)} could not be cloned.
at ide:///extensions/worker/asdebug/index.js:1:3400
at Array.forEach (<anonymous>)
at Object.triggerWorkerEvent (ide:///extensions/worker/asdebug/index.js:1:3357)(env: Windows,mp,1.06.2504010; lib: 3.9.3)
切换为webview模式后请求正常,这种情况只发生在用navigateTo打开的新页面,用switchTab切换其他的页面请求都是正常的。
报错时使用的基础库为3.9.3,改为3.9.2后问题消失!😥😥😥