Cannot read property '$$' of undefined
发布于 6 年前 作者 kongqiang 7064 次浏览 来自 官方Issues

TypeError: Cannot read property ‘$$’ of undefined
    at HTMLElement._attached.wx.getPlatform._touchstartHandlerForDevtools

10 回复

怎么解决的? 怎么没有下文了。。。

一般是你的语法错误,我是不小心把V-fo后面的东西给删除了,保存格式自动到了下一行就出现了这个错

我是在 动态设置swiper-item前 用 wx:if 先销毁掉swiper 然后在 显示,就没问题了

放了swiper组件,但没有数据填入,下拉刷新就会出现这个错误提示

可以提供一个代码片段

请问是怎么解决的呢

TypeError: Cannot read property ‘$$’ of undefined


    at HTMLElement._attached.wx.getPlatform._touchstartHandlerForDevtools

出现这个问题是因为下拉刷新时候swiper的current属性没有重置  将其重置为0即可

怎么解决的写出来啊

  url: `https://locally.uieee.com/${url}`,检查一下符号,我自己的问题解决了

请问是怎么解决的呢

回到顶部