From a70759652a7167e83076dcf96af09471a0c1c83c Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 28 八月 2024 16:39:23 +0800
Subject: [PATCH] update ui更新和一键删除

---
 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