From 366746a76575f5733247425029ccc2f9e87b28c6 Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Tue, 25 Jun 2024 10:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=8B=92=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my/order/pay.vue | 13 +++++++++---- my/order/payModifyDzhifu.vue | 8 ++++---- 2 files changed, 13 insertions(+), 8 deletions(-) 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() } }); }