各位微信开发者:
小程序基础库 3.5.5 已经开始灰度开发者,请大家基于业务情况关注相关变更。如遇问题请及时在本帖下方留言或在 小程序交流专区 发表标题包含「基础库3.5.5」的帖子反馈。本次更新如下:
- 新增 框架 一组路由事件监听 详情
- 更新 API 小程序插件支持录屏监听等相关接口 wx.onScreenRecordingStateChanged /wx.offScreenRecordingStateChanged /wx.getScreenRecordingState
- 修复 框架 部分异步组件相关问题
- 修复 框架 自定义 TabBar 内存泄漏
微信团队
2024年8月21日
we分析这几天出现大量报错,麻烦看看是不是基础库更新导致的问题吧?https://developers.weixin.qq.com/community/develop/doc/000624f2b04970cb1c02f36da61800?fromCreate=0
line:1,column:1221060,TypeError: undefined is not an object (evaluating \'S1[e].errorHandler\') Stack:@https://lib/WAServiceMainContext.js:1:1221060 @https://lib/WAServiceMainContext.js:1:140894 forEach@[native code] p@https://lib/WAServiceMainContext.js:1:140865 @https://lib/WAServiceMainContext.js:1:1221060 @https://lib/WAServiceMainContext.js:1:140894 p@https://lib/WAServiceMainContext.js:1:140865
line:1,column:1221091,TypeError: undefined is not an object (evaluating \'S1[e].errorHandler\') Stack:@https://lib/WAServiceMainContext.js:1:1221091
@https://lib/WAServiceMainContext.js:1:140894
forEach@[native code]
p@https://lib/WAServiceMainContext.js:1:140865
@https://lib/WAServiceMainContext.js:1:1221091
@https://lib/WAServiceMainContext.js:1:140894
p@https://lib/WAServiceMainContext.js:1:140865
第3条 修复了哪些异步组件相关的问题嘞?是否可以说明一下以便我们在之前的基础库版本中规避;
第1条 链接错误
3.5.5开始支持了两个组件store-home、store-product,但是在开发者工具上,按照文档说明进行接入,并不能正常展示;查看组件元素信息,宽高都是0;这个组件使用是有什么条件限制吗?现在已经可以确定的是:基础库是3.5.5,小店appid也是正确的;望回答下,文档说明很模糊,怎么使用,有什么前提条件都没有说明
哈哈哈,一堆报错
3.5.5 自定义 tabbar 直接报错不展示了。。。3.5.4 没问题
G
appId: wxcc866a20987fe1ca,大佬麻烦帮忙看下,这几天错误量每天在13w+,之前一直是1000+, 适配了一个页面为skyline后,js分析暴涨到13w+错误。抓紧时间看下吧,要疯了,我们100w日活
https://developers.weixin.qq.com/community/develop/doc/000c6cdfa10d2009c9f19ac066b000
Cannot read properties of null (reading \'touches\') TypeError: Cannot read properties of null (reading \'touches\') at m.triggerTouchEvent (https://lib/WARenderContext.js:1:1144743) at m.handleLongTap (https://lib/WARenderContext.js:1:1145185) 错误次数:68491次 错误次数占比:9.0% 错误人数:36217人 错误人数占比:16.7% null is not an object (evaluating \'e.touches\') triggerTouchEvent@https://lib/WARenderContext.js:1:1143672 handleLongTap@https://lib/WARenderContext.js:1:1144132 @https://lib/WAServiceMainContext.js:1:154088 错误次数:60410次 错误次数占比:7.9% 错误人数:30685人 错误人数占比:14.2%
Cannot read properties of undefined (reading \'lat\') TypeError: Cannot read properties of undefined (reading \'lat\') at e.getNorth (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:40:106169) at e.getNorthWest (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:40:105886) at i.fitBounds (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:69:433254) 错误次数:81854次 错误次数占比:10.8% 错误人数:16139人 错误人数占比:7.5%
Cannot read properties of null (reading \'setAttributes\') TypeError: Cannot read properties of null (reading \'setAttributes\') at n.observer (https://lib/WARenderContext.js:1:840952) 错误次数:6172次 错误次数占比:0.8% 错误人数:1970人 错误人数占比:0.9%
Cannot read properties of null (reading \'offsetWidth\') TypeError: Cannot read properties of null (reading \'offsetWidth\') at n.pointsChanged (https://lib/WARenderContext.js:1:304513)
null is not an object (evaluating \'this.$$.offsetWidth\') pointsChanged@https://lib/WARenderContext.js:1:304512 p@https://lib/WAServiceMainContext.js:1:192817 applyDataUpdates@https://lib/WAServiceMainContext.js:1:224768 @https://lib/WAServiceMainContext.js:1:288301 K2@https://usr//pages/detail/detail.appservice.js:1:29282 handleChildrenUpdate@https://lib/WAServiceMainContext.js:1:287711 @https://lib/WAServiceMainContext.js:1:288390 G2@https://usr//pages/detail/detail.appservice.js:1:30497 handleChildrenUpdate@https://lib/WAServiceMainContext.js:1:287711 @https://lib/WAServiceMainContext.js:1:288390 j@https://usr//pages/detail/detail.appservice.js:1:32424 handleChildrenUpdate@https://lib/WAServiceMainContext.js:1:287711 @https://lib/WAServiceMainContext.js:1:288390 i@https://usr//pages/detail/detail.appservice.js:1:33000 handleChildrenUpdate@https://lib/WAServiceMainContext.js:1:287711 @https://lib/WAServiceMainContext.js:1:288504 b@https://usr//pages/detail/detail.appservice.js:1:42854 handleChildrenUpdate@https://lib/WAServiceMainContext.js:1:287711 update@https://lib/WAServiceMainContext.js:1:285054 updateValues@https://lib/WAServiceMainContext.js:1:298948 @https://lib/WAServiceMainContext.js:1:306858 applyDataUpdates@https://lib/WAServiceMainContext.js:1:224509 setData@https://lib/WAServiceMainContext.js:1:313976 @https://lib/WASubContext.js:1:175163 I@https://lib/WASubContext.js:1:169943 setData@https://lib/WASubContext.js:1:175142 @https://usr//pages/detail/detail.appservice.js:2:33229 f@https://lib/WASubContext.js:1:164589 @https://lib/WASubContext.js:1:127494 @https://lib/WASubContext.js:1:159921 p@https://lib/WAServiceMainContext.js:1:166648 @https://lib/WAServiceMainContext.js:1:154597 错误次数:5138次 错误次数占比:0.7% 错误人数:3281人 错误人数占比:1.5%
Cannot read properties of undefined (reading \'lat\')
TypeError: Cannot read properties of undefined (reading \'lat\')
at e.getNorth (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:40:106169)
at e.getNorthWest (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:40:105886)
at i.fitBounds (https://map.qq.com/api/gljs?v=1.exp&key=6GUBZ-WOJKX-J7H46-7WVQI-E7A66-UTB4X&callback=__map_jssdk_init:69:433254)
错误次数:281860次 错误次数占比:30.3% 错误人数:50364人 错误人数占比:18.7%
这个问题也会一起修复吧?
👍👍