diff --git a/src/components/custom-scroll-title/index.vue b/src/components/custom-scroll-title/index.vue index 96f1f32..5714650 100644 --- a/src/components/custom-scroll-title/index.vue +++ b/src/components/custom-scroll-title/index.vue @@ -46,7 +46,7 @@ const router = useRouter(); const route = useRoute(); onMounted(() => { handleWidth(); - activeTitle.value = router.currentRoute.value.name; + activeTitle.value = '/v2/' + router.currentRoute.value.name; }); // const emit = defineEmits(['changeTitle']); const props = defineProps({