K***@163.com
K***@163.com
  • 发布:2021-07-23 16:01
  • 更新:2021-09-22 18:11
  • 阅读:1135

uniapp scroll-view 第二次下拉刷新,只触发样式不触发下拉刷新事件

分类:uni-app
<scroll-view scroll-y="true" :style="'height:' + scrollH + 'px'" refresher-background="#EC4356" lower-threshold="0" refresher-enabled="true" :refresher-triggered="isRefresh" @refresherrefresh="onRefresh" @scrolltolower="onLoadMore"> <view class="flex flex-column align-center">
<view class="" v-for="(item,index) in articlesList" :key="index">
<articles :detail="item"></articles>
</view>
<uni-load-more :status="loadStatus"></uni-load-more>
</view>
</scroll-view>
onRefresh(){
console.log("样式");
if(this.isRefresh) return
console.log("刷新");
this.isRefresh = true
Promise.all([this.getArticles(true)]).finally(_ => {
this.isRefresh = false
})
},
2021-07-23 16:01 负责人:无 分享
已邀请:
h***@aliyun.com

h***@aliyun.com

我也遇到了这个问题 采取的是恢复到上一个版本重新打包

  • wongjoke

    切换到3.2.3还是有这个问题

    2021-10-08 09:22

1***@qq.com

1***@qq.com

楼主解决了吗? 我也遇到了

梁山佬酒

梁山佬酒

现在还没有修复吗?我也遇到了

该问题目前已经被锁定, 无法添加新回复