From d8b9fb69d47eb0e9e2189d63ae0db690d9ff0229 Mon Sep 17 00:00:00 2001 From: fanp Date: Thu, 31 Oct 2019 13:50:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=88=91=E7=9A=84=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=8A=E6=8B=89=E5=8A=A0=E8=BD=BDbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/myFavorite/index.js | 8 ++++---- pages/user/myIdea/index.js | 6 +++--- pages/user/myMessage/index.js | 2 +- pages/user/myTopics/index.js | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/user/myFavorite/index.js b/pages/user/myFavorite/index.js index aa5dd61..b0e6365 100644 --- a/pages/user/myFavorite/index.js +++ b/pages/user/myFavorite/index.js @@ -58,9 +58,9 @@ Page({ list: list }) } else { - const page = this.data.currPage - 1 + const page = this.data.currentPage - 1 this.setData({ - currPage: page + currentPage: page }) wx.showToast({ title: '已加载全部', @@ -77,7 +77,7 @@ Page({ */ onPullDownRefresh: function () { this.setData({ - currPage: 1, + currentPage: 1, }) this.fetchMyFavoriteList() }, @@ -88,7 +88,7 @@ Page({ onReachBottom: function () { let page = this.data.currentPage + 1 this.setData({ - currPage: page, + currentPage: page, }) this.fetchMyFavoriteList() }, diff --git a/pages/user/myIdea/index.js b/pages/user/myIdea/index.js index d9054a1..0c5d516 100644 --- a/pages/user/myIdea/index.js +++ b/pages/user/myIdea/index.js @@ -68,9 +68,9 @@ Page({ list: list }) } else { - const page = this.data.currPage - 1 + const page = this.data.currentPage - 1 this.setData({ - currPage: page + currentPage: page }) wx.showToast({ title: '已加载全部', @@ -136,7 +136,7 @@ Page({ icon: 'none', success() { that.setData({ - currPage: 1, + currentPage: 1, }) switch (that.data.segmentIndex) { case 0: diff --git a/pages/user/myMessage/index.js b/pages/user/myMessage/index.js index 0d23400..2ca8b48 100644 --- a/pages/user/myMessage/index.js +++ b/pages/user/myMessage/index.js @@ -25,7 +25,7 @@ Page({ }, onShow: function () { this.setData({ - currPage: 1, + currentPage: 1, }) wx.pageScrollTo({ scrollTop: 0, diff --git a/pages/user/myTopics/index.js b/pages/user/myTopics/index.js index 45b750b..fe3935a 100644 --- a/pages/user/myTopics/index.js +++ b/pages/user/myTopics/index.js @@ -88,9 +88,9 @@ Page({ list: list }) } else { - const page = this.data.currPage - 1 + const page = this.data.currentPage - 1 this.setData({ - currPage: page + currentPage: page }) wx.showToast({ title: '已加载全部',