fix: update mcp nav title (#12818)

This commit is contained in:
王贺
2026-05-22 18:16:37 +08:00
committed by GitHub
parent 3ce70cee4d
commit b35c771d16
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -8,10 +8,12 @@
</template>
<script lang="ts" setup>
import i18n from '@/lang';
const buttons = [
{
label: 'Servers',
path: '/ai/mcp/servers',
label: i18n.global.t('menu.mcp'),
path: '/ai/mcp',
},
];
</script>
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div>
<RouterMenu />
<LayoutContent :title="'Servers'" v-loading="loading">
<LayoutContent :title="$t('menu.mcp')" v-loading="loading">
<template #leftToolBar>
<div class="flex flex-wrap gap-3">
<el-button v-permission type="primary" @click="openCreate">