diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue index 652d250..13fafe5 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -82,6 +82,11 @@ export default { }, onLoad() { }, + //下拉刷新 + async onPullDownRefresh() { + //加载更多(下一页) + await this.loadMoreData() + }, methods: { //初始化 @@ -91,7 +96,6 @@ export default { //加载更多(下一页) loadMoreData() { - return; //不用下拉加载 //判断是否加载 if (!this.isReachedBottom) { this.isReachedBottom = true;//设置为不可请求状态