From 305c5cf9a74faa38a95091357b813faefe0415e4 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Fri, 12 Apr 2024 14:00:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/family/familyList.vue | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/pages/family/familyList.vue b/pages/family/familyList.vue index c7cb4ad..0a58dba 100644 --- a/pages/family/familyList.vue +++ b/pages/family/familyList.vue @@ -94,23 +94,6 @@ this._initData(); }, - onPullDownRefresh: function() { - // 上拉刷新 - if (!this.loading) { - this.getTable(1, true).then(() => { - // 处理完成后,终止下拉刷新 - wx.stopPullDownRefresh(); - }); - } - }, - onReachBottom: function() { - console.log(1, !this.loading, this.page < this.totalPage); // 下拉触底,先判断是否有请求正在进行中 - // 以及检查当前请求页数是不是小于数据总页数,如符合条件,则发送请求 - - if (!this.loading && this.page < this.totalPage) { - this.getTable(this.page + 1); - } - }, methods: { _initData:function(){ let that = this;