From 58a4bb6a737aacecc3950600188b7bc7c542a53c Mon Sep 17 00:00:00 2001
From: Hu Gang <18768366022@163.com>
Date: Wed, 4 Jun 2025 15:57:59 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8F=92=E4=BB=B6=E4=B8=AD=E5=BF=83?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/i18n/lang/en.ts | 1 +
src/i18n/lang/zh-cn.ts | 1 +
src/views/api/components/McpDrawer.vue | 2 -
src/views/api/components/McpServiceDetail.vue | 13 +++-
src/views/api/components/MonacoEditor.vue | 26 +++++++-
src/views/api/index.vue | 5 ++
src/views/app/style.scss | 4 +-
src/views/createapp/components/McpDrawer.vue | 13 +++-
src/views/createapp/components/workFlow.vue | 62 ++++++++++---------
.../components/workFlowConfig/CustomNode.vue | 40 ++++++------
.../workFlowConfig/yamlEditDrawer.vue | 40 ++++++------
src/views/settings/Model.vue | 37 ++++++-----
src/views/styles/workFlowArrange.scss | 11 ++--
13 files changed, 157 insertions(+), 98 deletions(-)
diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts
index a3100b4c..328f740d 100644
--- a/src/i18n/lang/en.ts
+++ b/src/i18n/lang/en.ts
@@ -26,6 +26,7 @@ export default {
new_api_key: 'New API KEY',
secret_key: 'Secret Key',
secret_key_desc: 'Description',
+ confirm_to_delete: 'Confirm to delete this model?',
placeHolder: {
url: 'Please enter the URL',
api_key: 'Please enter the API KEY',
diff --git a/src/i18n/lang/zh-cn.ts b/src/i18n/lang/zh-cn.ts
index 557cfeaa..fb9dada4 100644
--- a/src/i18n/lang/zh-cn.ts
+++ b/src/i18n/lang/zh-cn.ts
@@ -26,6 +26,7 @@ export default {
new_api_key: '新建 API KEY',
secret_key: '密钥',
secret_key_desc: '密钥描述',
+ confirm_to_delete: '确定删除此模型吗?',
placeHolder: {
url: '请输入 URL',
api_key: '请输入 API KEY',
diff --git a/src/views/api/components/McpDrawer.vue b/src/views/api/components/McpDrawer.vue
index cfb007dd..1ae8bfed 100644
--- a/src/views/api/components/McpDrawer.vue
+++ b/src/views/api/components/McpDrawer.vue
@@ -333,8 +333,6 @@ watch(
.editor {
width: 100%;
- height: 450px;
- flex: 1;
}
}
}
diff --git a/src/views/api/components/McpServiceDetail.vue b/src/views/api/components/McpServiceDetail.vue
index ba5af4e1..9fdbb597 100644
--- a/src/views/api/components/McpServiceDetail.vue
+++ b/src/views/api/components/McpServiceDetail.vue
@@ -1,11 +1,14 @@
@@ -69,7 +89,7 @@ onBeforeUnmount(() => {