diff --git a/components/TheBottomMenu.vue b/components/TheBottomMenu.vue index 215e0ad..b119933 100644 --- a/components/TheBottomMenu.vue +++ b/components/TheBottomMenu.vue @@ -38,24 +38,21 @@ const route = useRoute() const router = useRouter() function onClick(item: BottomMenuItem) { - router.push(item.to || '/') + // router.push(item.to || '/') + router.replace(item.to || '/') } - - diff --git a/layouts/default.vue b/layouts/default.vue index 7c246d4..d6cb240 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,5 +1,5 @@