微信小程序之页面下拉刷新

如果需要给单个页面设置下拉刷新功能,不需要写在“”window”对象里面,直接在  文件名称.json 里面设置即可

{
    "enablePullDownRefresh": true,
    "backgroundTextStyle": "dark"
}
原文地址:https://www.cnblogs.com/Mrrabbit/p/7632904.html