mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
improve: 添加确认收货loading
This commit is contained in:
parent
7b0738ba6d
commit
8307a7cf3a
@ -1039,6 +1039,9 @@
|
||||
// #ifdef MP
|
||||
if (wx.openBusinessView && this.orderInfo.order_shipping_open && this.orderInfo
|
||||
.trade_no) {
|
||||
uni.showLoading({
|
||||
title: this.$t(`加载中`)
|
||||
});
|
||||
wx.openBusinessView({
|
||||
businessType: 'weappOrderConfirm',
|
||||
extraData: {
|
||||
@ -1046,12 +1049,13 @@
|
||||
},
|
||||
success() {},
|
||||
fail(err) {
|
||||
uni.hideLoading();
|
||||
return that.$util.Tips({
|
||||
title: err.errMsg
|
||||
});
|
||||
},
|
||||
complete() {
|
||||
//dosomething
|
||||
uni.hideLoading();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user