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: '已加载全部',