1.在使用<scroll-view></scroll-view>进行多页的数据展示时 ,想要实现在顶部往下拉时实现刷新的功能。查看API大概是写成了这样子<scroll-view scroll-top="{{scrollTop}}" class="orderitem-conatiner" style="height:{{scrollHeight}}px;" scroll-y="true" bindscrolltoupper="refresh" bindscrolltolower="bindDownLoad" bindscroll="scroll"></scroll>
查看页面发现频繁的执行refresh方法,页面一直在抖动 该怎么解决呢。
refresh是获取第一页的数据
bindDownLoad是获取第二页、第三页的数据。
已解决 用了onReachBottom 来解决。