diff --git a/my/order/pay.vue b/my/order/pay.vue index c89086e..bb2b8a6 100644 --- a/my/order/pay.vue +++ b/my/order/pay.vue @@ -256,7 +256,7 @@ class="dingshi"> 去投诉 - @@ -296,7 +296,7 @@ 修改订单 @@ -705,8 +705,10 @@ uni.showToast({ title:'操作完成!' }) + this.getOrder() this.$refs.popupQ.close(typeTxte); }else{ + this.getOrder() uni.showToast({ icon:'error', title:'操作失败!' @@ -714,6 +716,7 @@ } }).catch(() => { + this.getOrder() //联网失败, 结束加载 }); }, @@ -747,10 +750,10 @@ uni.showToast({ title:'操作完成!' }) + that.getOrder() that.$refs.popup.close(type); }else{ - console.log('shibai:' + longitude); - console.log('shibai:' + latitude); + that.getOrder() uni.showToast({ icon:'error', title:'操作失败!' @@ -759,10 +762,12 @@ }).catch(() => { //联网失败, 结束加载 + that.getOrder() }); }, fail: function(e) { + that.getOrder() // #ifdef H5 uni.showToast({ title:'获取地址失败!' diff --git a/my/order/payModifyDzhifu.vue b/my/order/payModifyDzhifu.vue index 114372d..0dcb127 100644 --- a/my/order/payModifyDzhifu.vue +++ b/my/order/payModifyDzhifu.vue @@ -614,7 +614,7 @@ title: '支付成功', icon: 'none' }) - // that.getOrder() + that.getOrder() } else { uni.showToast({ @@ -624,7 +624,7 @@ } }); } else if (re.cancel) { - // that.getOrder() + that.getOrder() } } }) @@ -651,7 +651,7 @@ title: '支付成功', icon: 'none' }) - // that.getOrder() + that.getOrder() // this.$queue.showToast('支付成功'); // uni.switchTab({ @@ -664,7 +664,7 @@ title: '支付失败', icon: 'nones' }); - // that.getOrder() + that.getOrder() } }); }