mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
fix: Application of multi-file style issues and modification of copywriting (#3110)
This commit is contained in:
parent
ceccf9f1fa
commit
a4d10cbe3b
|
|
@ -418,7 +418,7 @@ const uploadFile = async (file: any, fileList: any) => {
|
|||
formData.append('file', file.raw, file.name)
|
||||
//
|
||||
const extension = file.name.split('.').pop().toUpperCase() // 获取文件后缀名并转为小写
|
||||
|
||||
console.log(documentExtensions)
|
||||
if (imageExtensions.includes(extension)) {
|
||||
uploadImageList.value.push(file)
|
||||
} else if (documentExtensions.includes(extension)) {
|
||||
|
|
|
|||
|
|
@ -200,8 +200,7 @@ onMounted(() => {})
|
|||
}
|
||||
.media-file-width {
|
||||
:deep(.el-space__item) {
|
||||
min-width: 40% !important;
|
||||
flex-grow: 1;
|
||||
width: 49% !important;
|
||||
}
|
||||
}
|
||||
.media_2 {
|
||||
|
|
|
|||
|
|
@ -223,14 +223,14 @@ export default {
|
|||
},
|
||||
mcpNode: {
|
||||
label: 'MCP Server',
|
||||
text: 'Call MCP Tools through SSE/STREAMABLE_HTTP',
|
||||
text: 'Call MCP Tools through SSE',
|
||||
getToolsSuccess: 'Get Tools Successfully',
|
||||
getTool: 'Get Tools',
|
||||
tool: 'Tool',
|
||||
toolParam: 'Tool Params',
|
||||
mcpServerTip: 'Please enter the JSON format of the MCP server config',
|
||||
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: {
|
||||
label: 'Image Generation',
|
||||
|
|
|
|||
|
|
@ -224,14 +224,14 @@ export default {
|
|||
},
|
||||
mcpNode: {
|
||||
label: 'MCP 调用',
|
||||
text: '通过SSE/STREAMABLE_HTTP方式执行MCP服务中的工具',
|
||||
text: '通过SSE方式执行MCP服务中的工具',
|
||||
getToolsSuccess: '获取工具成功',
|
||||
getTool: '获取工具',
|
||||
tool: '工具',
|
||||
toolParam: '工具参数',
|
||||
mcpServerTip: '请输入JSON格式的MCP服务器配置',
|
||||
mcpToolTip: '请选择工具',
|
||||
configLabel: 'MCP Server Config (仅支持SSE/STREAMABLE_HTTP调用方式)'
|
||||
configLabel: 'MCP Server Config (仅支持SSE调用方式)'
|
||||
},
|
||||
imageGenerateNode: {
|
||||
label: '图片生成',
|
||||
|
|
|
|||
|
|
@ -223,14 +223,14 @@ export default {
|
|||
},
|
||||
mcpNode: {
|
||||
label: 'MCP 調用',
|
||||
text: '透過SSE/STREAMABLE_HTTP方式執行MCP服務中的工具',
|
||||
text: '透過SSE方式執行MCP服務中的工具',
|
||||
getToolsSuccess: '獲取工具成功',
|
||||
getTool: '獲取工具',
|
||||
tool: '工具',
|
||||
toolParam: '工具變數',
|
||||
mcpServerTip: '請輸入JSON格式的MCP服務器配置',
|
||||
mcpToolTip: '請選擇工具',
|
||||
configLabel: 'MCP Server Config (僅支持SSE/STREAMABLE_HTTP調用方式)'
|
||||
configLabel: 'MCP Server Config (僅支持SSE調用方式)'
|
||||
},
|
||||
imageGenerateNode: {
|
||||
label: '圖片生成',
|
||||
|
|
|
|||
Loading…
Reference in New Issue