Fix: 修正国际化的显示、跳转问题
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="header-container">
|
||||
<div class="logo-section">
|
||||
<NuxtLink to="/" class="logo-link">
|
||||
<NuxtLink :to="$localePath('/')" class="logo-link">
|
||||
<el-image class="website-logo" src="/jinshen-logo.png" alt="Jinshen Logo" fit="contain" />
|
||||
</NuxtLink>
|
||||
</div>
|
||||
@ -9,16 +9,16 @@
|
||||
|
||||
<!-- 导航菜单 -->
|
||||
<el-menu default-active="productions" class="header-menu" mode="horizontal" :ellipsis="false" router>
|
||||
<el-menu-item index="/productions">
|
||||
<el-menu-item :index="$localePath('/productions')">
|
||||
<span class="title">{{ $t('productions') }}</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/solutions">
|
||||
<el-menu-item :index="$localePath('/solutions')">
|
||||
<span class="title">{{ $t('solutions') }}</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/support">
|
||||
<el-menu-item :index="$localePath('/support')">
|
||||
<span class="title">{{ $t('support') }}</span>
|
||||
</el-menu-item>
|
||||
<el-menu-item index="/about">
|
||||
<el-menu-item :index="$localePath('/about')">
|
||||
<span class="title">{{ $t('about-us') }}</span>
|
||||
</el-menu-item>
|
||||
</el-menu>
|
||||
|
||||
Reference in New Issue
Block a user