onPullDownRefresh 下拉刷新时不触发
index1.js中加入
onPullDownRefresh() {
console.log(“on pull down”)
wx.stopPullDownRefresh()
}
已在相关页面index1.json文件中设置
{
“enablePullDownRefresh”: true,
}
没有使用scroll-view
但是在iPhone x 真机和模拟器上 onPullDownRefresh()都不能触发
切换到第二个频道“我的”

下拉时有动画效果

但是onPullDownRefresh()没有触发,控制台没有相关打印信息(on pull down)
