fix: 导航栏语言
This commit is contained in:
parent
304a71349d
commit
f79148ee5f
|
@ -20,14 +20,14 @@ const navs = useNav()
|
||||||
>
|
>
|
||||||
<NuxtLink v-for="(item, index) in nav.child" :key="index" :href="item.href" class="mx-2 my-1 max-w-250px overflow-hidden rounded py-2 hover:bg-light-50/5" active-class="bg-light-50/5">
|
<NuxtLink v-for="(item, index) in nav.child" :key="index" :href="item.href" class="mx-2 my-1 max-w-250px overflow-hidden rounded py-2 hover:bg-light-50/5" active-class="bg-light-50/5">
|
||||||
<AListItem
|
<AListItem
|
||||||
:title="item.title"
|
:title="$t(item.title)"
|
||||||
:subtitle="item.subtitle"
|
:subtitle="$(item.subtitle)"
|
||||||
:icon="item.icon"
|
:icon="item.icon"
|
||||||
/>
|
/>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</AList>
|
</AList>
|
||||||
</AMenu>
|
</AMenu>
|
||||||
<span>{{ nav.title }}</span>
|
<span>{{ $t(nav.title) }}</span>
|
||||||
</ABtn>
|
</ABtn>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue