// scrollTo(x:Integer, y:Integer, animate:Boolean) scroll to a position in scroller content
let scroller = this.$refs.refScroller // scroller的ref
scroller.scrollTo(0, 0, true)
vue-scroller回到顶部
猜你喜欢
转载自blog.csdn.net/qq719756146/article/details/86646638
今日推荐
周排行