Commit 7c6611d4 by 高淑倩

showLoading

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