fix: Application of multi-file style issues and modification of copywriting (#3110)

This commit is contained in:
wangdan-fit2cloud 2025-05-19 16:39:45 +08:00 committed by GitHub
parent ceccf9f1fa
commit a4d10cbe3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 9 deletions

View File

@ -418,7 +418,7 @@ const uploadFile = async (file: any, fileList: any) => {
formData.append('file', file.raw, file.name) formData.append('file', file.raw, file.name)
// //
const extension = file.name.split('.').pop().toUpperCase() // const extension = file.name.split('.').pop().toUpperCase() //
console.log(documentExtensions)
if (imageExtensions.includes(extension)) { if (imageExtensions.includes(extension)) {
uploadImageList.value.push(file) uploadImageList.value.push(file)
} else if (documentExtensions.includes(extension)) { } else if (documentExtensions.includes(extension)) {

View File

@ -200,8 +200,7 @@ onMounted(() => {})
} }
.media-file-width { .media-file-width {
:deep(.el-space__item) { :deep(.el-space__item) {
min-width: 40% !important; width: 49% !important;
flex-grow: 1;
} }
} }
.media_2 { .media_2 {

View File

@ -223,14 +223,14 @@ export default {
}, },
mcpNode: { mcpNode: {
label: 'MCP Server', label: 'MCP Server',
text: 'Call MCP Tools through SSE/STREAMABLE_HTTP', text: 'Call MCP Tools through SSE',
getToolsSuccess: 'Get Tools Successfully', getToolsSuccess: 'Get Tools Successfully',
getTool: 'Get Tools', getTool: 'Get Tools',
tool: 'Tool', tool: 'Tool',
toolParam: 'Tool Params', toolParam: 'Tool Params',
mcpServerTip: 'Please enter the JSON format of the MCP server config', mcpServerTip: 'Please enter the JSON format of the MCP server config',
mcpToolTip: 'Please select a tool', mcpToolTip: 'Please select a tool',
configLabel: 'MCP Server Config (Only supports SSE/STREAMABLE_HTTP call method)' configLabel: 'MCP Server Config (Only supports SSE call method)'
}, },
imageGenerateNode: { imageGenerateNode: {
label: 'Image Generation', label: 'Image Generation',

View File

@ -224,14 +224,14 @@ export default {
}, },
mcpNode: { mcpNode: {
label: 'MCP 调用', label: 'MCP 调用',
text: '通过SSE/STREAMABLE_HTTP方式执行MCP服务中的工具', text: '通过SSE方式执行MCP服务中的工具',
getToolsSuccess: '获取工具成功', getToolsSuccess: '获取工具成功',
getTool: '获取工具', getTool: '获取工具',
tool: '工具', tool: '工具',
toolParam: '工具参数', toolParam: '工具参数',
mcpServerTip: '请输入JSON格式的MCP服务器配置', mcpServerTip: '请输入JSON格式的MCP服务器配置',
mcpToolTip: '请选择工具', mcpToolTip: '请选择工具',
configLabel: 'MCP Server Config (仅支持SSE/STREAMABLE_HTTP调用方式)' configLabel: 'MCP Server Config (仅支持SSE调用方式)'
}, },
imageGenerateNode: { imageGenerateNode: {
label: '图片生成', label: '图片生成',

View File

@ -223,14 +223,14 @@ export default {
}, },
mcpNode: { mcpNode: {
label: 'MCP 調用', label: 'MCP 調用',
text: '透過SSE/STREAMABLE_HTTP方式執行MCP服務中的工具', text: '透過SSE方式執行MCP服務中的工具',
getToolsSuccess: '獲取工具成功', getToolsSuccess: '獲取工具成功',
getTool: '獲取工具', getTool: '獲取工具',
tool: '工具', tool: '工具',
toolParam: '工具變數', toolParam: '工具變數',
mcpServerTip: '請輸入JSON格式的MCP服務器配置', mcpServerTip: '請輸入JSON格式的MCP服務器配置',
mcpToolTip: '請選擇工具', mcpToolTip: '請選擇工具',
configLabel: 'MCP Server Config (僅支持SSE/STREAMABLE_HTTP調用方式)' configLabel: 'MCP Server Config (僅支持SSE調用方式)'
}, },
imageGenerateNode: { imageGenerateNode: {
label: '圖片生成', label: '圖片生成',