Commit 34963d01 by 高淑倩

kpi

parent 397fe907
......@@ -41,19 +41,17 @@ wxService.page({
const query = {
type: current,
brandId: app.globalData.brandId,
pageSize,
pageNo,
// pageSize,
// pageNo,
}
wxService.post(`/marketing/shoppingguide/task/page`,query).then(res => {
wxService.post(`/marketing/shoppingguide/task/page?pageSize=${pageSize}&pageNo=${pageNo}`,query).then(res => {
if (res) {
const { result, data } = res.data
if (result == 0) {
wx.hideLoading()
// pageNo == 1? [...data.content]: [...this.data.couponList,...data.content],
// this.setData({
// cartList:
// })
this.setData({
list: pageNo == 1? [...data.content]: [...this.data.list,...data.content],
})
}
}
})
......
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