From a587937ce53f79b4680e930b5d5f7fee33de5311 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 14 八月 2024 14:50:40 +0800
Subject: [PATCH] 标签
---
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