Commit f8364a45 by 赵雅纹

我的推广

parent 968ff962
...@@ -69,7 +69,10 @@ wxService.page({ ...@@ -69,7 +69,10 @@ wxService.page({
// 我的推广 // 我的推广
wx.hideShareMenu(); wx.hideShareMenu();
this.getMyShareCount() this.getMyShareCount()
this.getMyExtendOrderList(1,10) this.setData({
pageNum: 1
})
this.getMyExtendOrderList(this.data.pageNum,10)
} }
}, },
...@@ -368,6 +371,7 @@ wxService.page({ ...@@ -368,6 +371,7 @@ wxService.page({
} }
}else{ }else{
console.log('11111111111', this.data.pageNum) console.log('11111111111', this.data.pageNum)
console.log('22222222222', this.data.myTotalPages)
if (this.data.pageNum < this.data.myTotalPages) { if (this.data.pageNum < this.data.myTotalPages) {
this.setData({ this.setData({
pageNum: this.data.pageNum + 1, 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