Authored by huangyCode

loading修改

... ... @@ -329,6 +329,7 @@ Page(Object.assign({
this.service.getRecommend(params),
this.service.getRecentAvatars(params)
]).then(([r1, r2, r3]) => {
wx.hideLoading();
if (r1.code === 200 && r1.data) {
let product = r1.data;
... ... @@ -364,13 +365,12 @@ Page(Object.assign({
this._setActionStatus();
this._setStep();
wx.hideLoading();
} else {
return Promise.reject();
}
}).catch((e) => {
console.error(e);
wx.hideLoading();
console.error(e);
});
},
... ...