(fix) ロケールが変更されてもAsideNavが更新されない

This commit is contained in:
kakkokari-gtyih 2023-11-26 00:50:35 +09:00
parent 60f525c190
commit e2a753bef5

View File

@ -9,7 +9,7 @@ useHead({
});
const { locale } = useI18n();
const { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation(queryContent(`/${locale.value}/docs/`)));
const { data: navigation } = await useAsyncData(`navigation_${locale.value}`, () => fetchContentNavigation(queryContent(`/${locale.value}/docs/`)));
</script>
<template>