小程序 Cannot read property '$$' of undefined 阿狸x 2024-03-06 41 阅读1分钟 小程序报错 Cannot read property '$$' of undefined 是因为使用了swiper 第一种情况 如果使用了display-multiple-items且不为整数,如3.5,则和circle一块使用,解决报错问题 第二种情况 放了swiper组件,但没有数据填入,滑动时就会出现这个错误提示,需要加wx:if判断数据存在时显示swiper模块