Commit 7c6611d4 by 高淑倩

showLoading

parent fbcc33c8
......@@ -70,6 +70,7 @@ wxService.page({
this.setData({
pointList: data
}, () => {
wx.hideLoading()
this.getPointConsumptionCount(item.id)
})
})
......@@ -85,8 +86,6 @@ wxService.page({
const { result, data } = res.data
const { pointList } = this.data
if (result == 0) {
wx.hideLoading()
pointList.forEach(item => {
if (item.id == data.activityId) {
item.surplusPoints = data.surplusPoints
......
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