mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-05 06:04:35 +08:00
fix: Fix menu internationalization issues (#9456)
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 8s
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 8s
This commit is contained in:
parent
2e8bcc09e6
commit
8ec5a5bd4b
2 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,7 @@ const databaseRouter = {
|
|||
name: 'MCPServer',
|
||||
component: () => import('@/views/ai/mcp/server/index.vue'),
|
||||
meta: {
|
||||
title: 'MCP',
|
||||
title: 'menu.mcp',
|
||||
requiresAuth: true,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -113,6 +113,8 @@ const oldProto = ref();
|
|||
|
||||
const acceptParams = (params: DialogProps): void => {
|
||||
dialogData.value = params;
|
||||
oldUrl.value = params.rowData.downloadUrl;
|
||||
oldProto.value = params.rowData.protocol;
|
||||
title.value = i18n.global.t('commons.button.' + dialogData.value.title);
|
||||
drawerVisible.value = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue