cloudroam
7 天以前 c31a8def0ac90d86b8e8e345441bd28002a9ef2f
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>