From c31a8def0ac90d86b8e8e345441bd28002a9ef2f Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 16 六月 2025 20:14:52 +0800
Subject: [PATCH] add: 分享

---
 components/footer/customer-footer.vue |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/components/footer/customer-footer.vue b/components/footer/customer-footer.vue
index 423802c..f0a56cb 100644
--- a/components/footer/customer-footer.vue
+++ b/components/footer/customer-footer.vue
@@ -19,6 +19,8 @@
 
 <script setup lang="ts">
 import { ref, computed } from 'vue'
+import { useNavigator } from '@/composables/useNavigator'
+const { navigateTo, reLaunchTo} = useNavigator()
 
 interface TabItem {
   text: string
@@ -57,9 +59,12 @@
 })
 
 function go(index: number, item: TabItem) {
-  uni.reLaunch({
-    url: item.pagePath,
-  })
+  // uni.reLaunch({
+  //   url: item.pagePath,
+  // })
+  
+  reLaunchTo(item.pagePath)
+ 
 }
 </script>
 

--
Gitblit v1.9.3