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>