5***@qq.com
5***@qq.com
  • 发布:2020-11-20 15:08
  • 更新:2021-06-04 21:19
  • 阅读:744

refresh连续下拉多次,display=hide隐藏不了

分类:nvue

在helloUniApp上测试了顶部选项卡模板,多拉几次后refresh就不能隐藏了


修改了tabbar.nvue

<refresh class="refresh" @refresh="onrefresh(index1)" @pullingdown="onpullingdown" :display="tab.refreshing ? 'show' : 'hide'">  
                        <div class="refresh-view">  
                            <image class="refresh-icon" :src="refreshIcon" :style="{width: (tab.refreshing || pulling) ? 0: '30px'}" :class="{'refresh-icon-active': tab.refreshFlag}"></image>  
                            <loading-indicator class="loading-icon" animating="true" v-if="tab.refreshing"></loading-indicator>  
                            <text class="loading-text">{{tab.refreshText}}</text>  
                            <text class="loading-text">{{tab.refreshing}}</text>  
                        </div>  
                    </refresh>

tab.refreshing已经是false了,这是不是一个bug

2020-11-20 15:08 负责人:DCloud_UNI_Anne 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

IOS13.6.1,iPhone 6s Plus,使用hello uni-app,未复现问题。

5***@qq.com

5***@qq.com (作者)

4***@qq.com

4***@qq.com

您好,请教一个问题,为什么我按文档的配置,onPullDownRefresh下拉刷新不触发

katrina

katrina

作者最后有解决吗? 今天也遇到了这个问题

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