Commit c43599c0 by 赵雅纹

我的

parent f8364a45
......@@ -64,7 +64,10 @@ wxService.page({
// 可使用
if (current == 0) {
wx.showShareMenu()
this.getExtendProList(1,10)
this.setData({
pageNo: 1
})
this.getExtendProList(this.data.pageNo,10)
} else if (current == 1) {
// 我的推广
wx.hideShareMenu();
......@@ -328,7 +331,10 @@ wxService.page({
onShow: function () {
const { memberId, member } = wx.getStorageSync('_baseUserInfo')
this.getExtendProBanner()
this.getExtendProList(1,10)
this.setData({
pageNo: 1
})
this.getExtendProList(this.data.pageNo,10)
this.data.currentShareContent = null;
},
......@@ -370,8 +376,6 @@ wxService.page({
})
}
}else{
console.log('11111111111', this.data.pageNum)
console.log('22222222222', this.data.myTotalPages)
if (this.data.pageNum < this.data.myTotalPages) {
this.setData({
pageNum: this.data.pageNum + 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment