mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-11 04:00:56 +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',
|
name: 'MCPServer',
|
||||||
component: () => import('@/views/ai/mcp/server/index.vue'),
|
component: () => import('@/views/ai/mcp/server/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
title: 'MCP',
|
title: 'menu.mcp',
|
||||||
requiresAuth: true,
|
requiresAuth: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,8 @@ const oldProto = ref();
|
||||||
|
|
||||||
const acceptParams = (params: DialogProps): void => {
|
const acceptParams = (params: DialogProps): void => {
|
||||||
dialogData.value = params;
|
dialogData.value = params;
|
||||||
|
oldUrl.value = params.rowData.downloadUrl;
|
||||||
|
oldProto.value = params.rowData.protocol;
|
||||||
title.value = i18n.global.t('commons.button.' + dialogData.value.title);
|
title.value = i18n.global.t('commons.button.' + dialogData.value.title);
|
||||||
drawerVisible.value = true;
|
drawerVisible.value = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue