From ecfe7d9dd065b14e9ad521f609383c239beb9f4b Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Fri, 27 Nov 2026 18:19:55 +0800 Subject: [PATCH] fix: correct MCP shared badges and workflow labels --- ui/src/locales/zh-CN/workflow/index.json | 2 +- ui/src/locales/zh-Hant/workflow/index.json | 2 +- .../component/resource-setting/McpSettingDialog.vue | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/locales/zh-CN/workflow/index.json b/ui/src/locales/zh-CN/workflow/index.json index ebb3aa96918..e0cd77753df 100644 --- a/ui/src/locales/zh-CN/workflow/index.json +++ b/ui/src/locales/zh-CN/workflow/index.json @@ -5,7 +5,7 @@ "currentForm": "当前表单", "exposedFields": { "label": "外置参数设置", - "description": "仅支持模型、知识库、开关、日期、树形选项器、单选框、多选框组件类型" + "description": "仅支持模型、知识库、开关、日期、树形选择器、单选框、多选框组件类型" }, "menuTitle": { "label": "其他参数收纳菜单标题" diff --git a/ui/src/locales/zh-Hant/workflow/index.json b/ui/src/locales/zh-Hant/workflow/index.json index 7c8afc620a3..219b370ab1e 100644 --- a/ui/src/locales/zh-Hant/workflow/index.json +++ b/ui/src/locales/zh-Hant/workflow/index.json @@ -5,7 +5,7 @@ "currentForm": "當前表單", "exposedFields": { "label": "外置參數設置", - "description": "僅支持模型、知識庫、開關、日期、樹形選項器、單選框、多選框組件類型" + "description": "僅支持模型、知識庫、開關、日期、樹形選擇器、單選框、多選框組件類型" }, "menuTitle": { "label": "其他參數收納菜單標題" diff --git a/ui/src/workflow-canvas/nodes/ai-chat-node/component/resource-setting/McpSettingDialog.vue b/ui/src/workflow-canvas/nodes/ai-chat-node/component/resource-setting/McpSettingDialog.vue index 228435a47de..f761fdd70c2 100644 --- a/ui/src/workflow-canvas/nodes/ai-chat-node/component/resource-setting/McpSettingDialog.vue +++ b/ui/src/workflow-canvas/nodes/ai-chat-node/component/resource-setting/McpSettingDialog.vue @@ -6,7 +6,7 @@ import type { McpSetting, McpSource } from '../../types' import type { ToolItem } from '@/api/types' import type { FormInstance } from 'element-plus' import type { Ref } from 'vue' -import { TOOL_TYPE } from '@/api/enums' +import { TOOL_SCOPE, TOOL_TYPE } from '@/api/enums' import { useWorkflowStore } from '@/workflow-canvas/store' import { MsgError } from '@/utils/message' @@ -118,8 +118,8 @@ defineExpose({ open })
- {{ option.name }} - {{ t('resource.shared') }} + {{ option.name }} + {{ t('resource.shared') }}