提交 09933403 编写于 作者: D dolymood

feat(scroll-nav): add scrollTo API

上级 8279880c
......@@ -125,6 +125,9 @@
})
},
methods: {
scrollTo() {
this.$refs.scroll && this.$refs.scroll.scrollTo.apply(this.$refs.scroll, arguments)
},
refresh() {
this.navBar && this.navBar.refresh()
this.$refs.sticky.refresh()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册