From c9ece393fc028ffecca0915d1b9af62d51b5aef6 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 13 八月 2024 17:21:19 +0800
Subject: [PATCH] 1
---
sub_pages/customer/shopping/shopping.vue | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/sub_pages/customer/shopping/shopping.vue b/sub_pages/customer/shopping/shopping.vue
index a7de25c..766613d 100644
--- a/sub_pages/customer/shopping/shopping.vue
+++ b/sub_pages/customer/shopping/shopping.vue
@@ -160,15 +160,19 @@
}
})
let that = this
- setTimeout(() => {
+ if (code === 0) {
that.$message.hideLoading()
- if (code === 0) {
- that.$storage.setItem('_cache_shopping_dto', JSON.stringify(data))
- uni.navigateTo({
- url: '/sub_pages/customer/shopping/confirm'
- })
- }
- }, 300)
+ that.$storage.setItem('_cache_shopping_dto', JSON.stringify(data))
+ uni.navigateTo({
+ url: '/sub_pages/customer/shopping/confirm'
+ })
+ } else {
+ //提示消失快
+ setTimeout(() => {
+ that.$message.hideLoading()
+ }, 2000)
+ }
+
},
async clickSwipeButton(item, check) {
// console.log('clickSwipeButton', e)
--
Gitblit v1.9.3