We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loadMore()
currentPage
totalPages
this.$refs.loadRefresh.completed()
this.$refs.loadRefresh[0].completed()
refresh()
this.list = []
coverTouchend()
slot
slot="content-list"
The text was updated successfully, but these errors were encountered:
JamyKing
No branches or pull requests
一、手势上滑加载更多
loadMore()
系列问题1.
loadMore()
无法正常触发currentPage
、总页码totalPages
,需满足currentPage
<totalPages
,以减少无用功;2.
this.$refs.loadRefresh.completed()
方法报错this.$refs.loadRefresh[0].completed()
;二、下拉刷新
refresh()
系列问题1. 下拉刷新后动画无法停止
this.list = []
,再去获取新数据---这样的操作。这样会引起组件内的coverTouchend()
方法无法触发,进而导致刷新动画无法结束。三、其他问题
1. 引入组件后,列表数据无法显示
slot
插槽,请注意在组件内嵌套数据时使用slot="content-list"
;如有更好的解决方案和建议,请不要吝啬键盘 (抱拳)
The text was updated successfully, but these errors were encountered: