From bfd70830b78bc42e0a284baa044efacc29897cd5 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 28 四月 2026 22:02:46 +0800
Subject: [PATCH] 小程序改bug
---
small-program/components/custom-tabbar/custom-tabbar.vue | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/small-program/components/custom-tabbar/custom-tabbar.vue b/small-program/components/custom-tabbar/custom-tabbar.vue
index 5af402a..8de2fe5 100644
--- a/small-program/components/custom-tabbar/custom-tabbar.vue
+++ b/small-program/components/custom-tabbar/custom-tabbar.vue
@@ -12,7 +12,6 @@
<script>
import { mapState } from 'vuex'
-
export default {
name: 'CustomTabbar',
data() {
@@ -107,6 +106,9 @@
}
} else {
if (currentPath !== item.pagePath) {
+ if(item.pagePath ==='/pages/itinerary/itinerary'){
+ uni.setStorageSync("orderStatus",-1)
+ }
uni.switchTab({
url: item.pagePath
})
--
Gitblit v1.9.3