Commit 1d000e8c by 高淑倩

modify: 报错

parent e58ed150
...@@ -52,6 +52,7 @@ wxService.page({ ...@@ -52,6 +52,7 @@ wxService.page({
// }) // })
// 查询所有生效中的活动 // 查询所有生效中的活动
wxService.get(`/coupon/pointsRedemptionCouponSetting/getAllValid`).then(res => { wxService.get(`/coupon/pointsRedemptionCouponSetting/getAllValid`).then(res => {
if(res){
const {result,data} = res.data const {result,data} = res.data
if(result == 0){ if(result == 0){
wx.hideLoading() wx.hideLoading()
...@@ -59,7 +60,7 @@ wxService.page({ ...@@ -59,7 +60,7 @@ wxService.page({
integralCouponList: data.reverse() integralCouponList: data.reverse()
}) })
} }
}
}).finally(() => { }).finally(() => {
wx.hideLoading(); wx.hideLoading();
}) })
......
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