From 2c3614061cfa88fc0a7d653f02238e3e23f16ec5 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 28 八月 2024 18:34:43 +0800
Subject: [PATCH] 1

---
 sub_pages/customer/shopping/confirm.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 4ea2671..db02471 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -204,13 +204,18 @@
 											tmp.$message.showToast('支付成功')
 											//返回上一页
 											await tmp.$store.dispatch('sign_add', 'shopping')
-											uni.navigateBack()
+											// setTimeout(() => {
+											// uni.navigateBack()
+											// }, 500)
+											await tmp.$message.showToast('支付成功')
+
+
 										},
 										async fail(err) {
 											console.error('pay fail', err)
 											tmp.$message.showToast('支付失败')
-											await tmp.$store.dispatch('sign_add', 'shopping')
-											uni.navigateBack()
+											// await tmp.$store.dispatch('sign_add', 'shopping')
+											// uni.navigateBack()
 										}
 									})
 

--
Gitblit v1.9.3