Authored by 李奇

order loading

... ... @@ -121,6 +121,7 @@ Page({
limit: 50
};
wx.showLoading({title: '加载中'});
orderModel.getOrders(params)
.then(res => {
if (res.code === 200) {
... ... @@ -132,7 +133,10 @@ Page({
ordersList: orders,
showEmptyContainer: res.data.order_list == 0
});
wx.hideLoading();
}
}).catch(() => {
wx.hideLoading();
});
},
loadRefundReason() {
... ...