我也遇到了这个问题,非常诡异 在电脑开发者工具里,机器A正常运行,机器B报这个错。后来把skyline去掉,用webview,机器B就好了。 但是在手机上,iOS似乎都可以,安卓不行。 打开【调试模式】的话,又全部正常。
Failed to execute 'postMessage' on 'Worker'?基础库:3.9.3 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: macOS,mp,1.06.2504030; lib: 3.9.3)
09-17这么说来是2018年就存在的错误了? 2022年还是绕不开。。 有点鸡肋的改进是,移动以后第一次获取得到的数据是正确的,后面就变成0了。
scroll-view的scrollTop不精确[图片] 现象: scroll-view滚动回到顶部时候的scrollTop不为0 个人分析: scroll-view滚动监听存在精度问题 求解问题: 有没有遇到过类似问题的,怎么才能精确获取实时的滚动高度? ------------------------------------------------------------------------------------------------------------------------------------------- wxml结构: <scroll-view bindscroll="scroll" scroll-y="true"> <view>This is my content!</view> ...... </scroll-view> wxss: scroll-view{ height:100%; }
2022-04-13