<scroll-view scroll-y @scrolltolower="enevtname" </scroll-view>
enevtname(){
console.log('触底了')
}
记录一下,在scroll-view中使用onReachBottom是无效的,用@scrolltolower这个事件来监听就好使了。
<scroll-view scroll-y @scrolltolower="enevtname" </scroll-view>
enevtname(){
console.log('触底了')
}
记录一下,在scroll-view中使用onReachBottom是无效的,用@scrolltolower这个事件来监听就好使了。