From 6ef1b14f735acdc3ff77a50da1bb09a5bb983dcc Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 28 五月 2025 17:37:06 +0800 Subject: [PATCH] location,userinfo --- 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