From 5b926918fefd9d826eb35f5c9218743a1bcf0a16 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期五, 30 八月 2024 14:55:45 +0800 Subject: [PATCH] update --- sub_pages/customer/shopping/confirm.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue index 4ea2671..77686c9 100644 --- a/sub_pages/customer/shopping/confirm.vue +++ b/sub_pages/customer/shopping/confirm.vue @@ -201,16 +201,22 @@ ...data, async success(res) { console.log('pay success', res) - tmp.$message.showToast('支付成功') + // tmp.$message.showToast('支付成功') //返回上一页 await tmp.$store.dispatch('sign_add', 'shopping') + // setTimeout(() => { + // uni.navigateBack() + // }, 500) + await tmp.$message.showToast('支付成功') uni.navigateBack() + + }, 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