chenlw

需要在对应的json文件或者app.json下面加上

enablePullDownRefresh:true

如果看不见加载动画,在app.json下面加上

backgroundTextStyle: \'dark\',

下拉刷新需要在页面上执行,而不是组件

onPullDownRefresh(){
      this.getWeather();
      wx.stopPullDownRefresh();
}

 

分类:

技术点:

相关文章:

  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2021-07-31
相关资源
相似解决方案