scrollView 下拉距离设置upper-threshold

发布于 7 年前作者 jing0618651 次浏览最后编辑 7 年前来自 ask

scrollView 下拉距离设置

设置了 但是只要下拉一点点 还是会触发 下拉的方法  想问一下 如何设置下拉一定距离后 在释放 才触发下拉方法

<scroll-view class=‘scrollView’ id=‘scrollerStarted’ scroll-y=‘true’ bindscrolltolower=“loadMode” bindscrolltoupper=‘_onPullDownRefresh’ upper-threshold=‘100’>

upper-threshold=‘100’ 设置100后 但是只要下拉一点点 还是会触发 _onPullDownRefresh方法

1 回复