程序中2个页面使用了"enablePullDownRefresh": true,一个正常另一个不触?

发布于 8 年前作者 qiangqiu12349 次浏览最后编辑 8 年前来自 ask
//app.json中添加
"pages/nearby/index",
//nearby/index.json中添加
"enablePullDownRefresh": true
//nearby.js中添加
 onPullDownRefresh: function () {
        
    },
1 回复
xia28
xia281 楼6 年前

麻烦提供能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html