CD配唱片
2025-04-28 aee355e75142608005ba039ebbd0ff88ca662b6b
提交i18n
已修改3个文件
18 ■■■■ 文件已修改
src/layout/components/Navbar.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/i18n/locales/en.json 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/i18n/locales/zh.json 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue
@@ -17,13 +17,13 @@
          <template #dropdown>
            <el-dropdown-menu>
              <router-link to="/user/profile">
                <el-dropdown-item>个人中心</el-dropdown-item>
                <el-dropdown-item>{{$t(`topNav.center`)}}</el-dropdown-item>
              </router-link>
              <!-- <el-dropdown-item command="setLayout" v-if="settingsStore.showSettings">
                <span>布局设置</span>
              </el-dropdown-item> -->
              <el-dropdown-item divided command="logout">
                <span>退出登录</span>
                <span>{{$t(`topNav.logout`)}}</span>
              </el-dropdown-item>
            </el-dropdown-menu>
          </template>
src/utils/i18n/locales/en.json
@@ -1,3 +1,5 @@
{
  "topNav":{
    "center":""
  }
}
src/utils/i18n/locales/zh.json
@@ -1,8 +1,6 @@
{
  "Home": "首页",
  "About": "关于我们",
  "productService": "产品服务",
  "cases": "行业解决方案",
  "news": "新闻动态",
  "contactUs": "联系我们"
  "topNav":{
    "center":"个人中心",
    "logout":"退出登录"
  }
}