uni-app 小程序实现下拉刷新
配置
page.json
里面配置该页面enablePullDownRefresh
为true
。
实现
页面里面增加onPullDownRefresh
函数,监听该页面用户下拉刷新事件。
1 | onPullDownRefresh() { |
注意记得关闭下拉刷新。uni.stopPullDownRefresh()
1 | onPullDownRefresh() { |
Invitation
aqing
962555446
created:15/04/2021
Welcome to Candyhome
Use this card to join the candyhome and participate in a pleasant discussion together .
Welcome to aqing's candyhome,wish you a nice day .
评论