小程序频繁出现_updatePosition的报错

发布于 8 年前作者 wfeng13647 次浏览最后编辑 8 年前来自 ask

小程序错误日志频繁出现这个报错,但是编译后的代码没有_updatePosition这个方法,有人遇到过这个问题吗?

Cannot read property ‘length’ of undefined TypeError: Cannot read property ‘length’ of undefined at L._updatePosition (<anonymous>:2:941402) at <anonymous>:2:604126

2 回复
gang11
gang111 楼5 年前

你好,哪个小程序,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

afeng
afeng2 楼5 年前

一样,而且只有在pc 3.0下会出现。