Showing
1 changed file
with
2 additions
and
2 deletions
@@ -329,6 +329,7 @@ Page(Object.assign({ | @@ -329,6 +329,7 @@ Page(Object.assign({ | ||
329 | this.service.getRecommend(params), | 329 | this.service.getRecommend(params), |
330 | this.service.getRecentAvatars(params) | 330 | this.service.getRecentAvatars(params) |
331 | ]).then(([r1, r2, r3]) => { | 331 | ]).then(([r1, r2, r3]) => { |
332 | + wx.hideLoading(); | ||
332 | if (r1.code === 200 && r1.data) { | 333 | if (r1.code === 200 && r1.data) { |
333 | let product = r1.data; | 334 | let product = r1.data; |
334 | 335 | ||
@@ -364,13 +365,12 @@ Page(Object.assign({ | @@ -364,13 +365,12 @@ Page(Object.assign({ | ||
364 | 365 | ||
365 | this._setActionStatus(); | 366 | this._setActionStatus(); |
366 | this._setStep(); | 367 | this._setStep(); |
367 | - wx.hideLoading(); | ||
368 | } else { | 368 | } else { |
369 | return Promise.reject(); | 369 | return Promise.reject(); |
370 | } | 370 | } |
371 | }).catch((e) => { | 371 | }).catch((e) => { |
372 | - console.error(e); | ||
373 | wx.hideLoading(); | 372 | wx.hideLoading(); |
373 | + console.error(e); | ||
374 | }); | 374 | }); |
375 | }, | 375 | }, |
376 | 376 |
-
Please register or login to post a comment