feat(storage): 添加对阿里云OSS的支持,更新相关文档和界面文本

This commit is contained in:
bingxiang.cheng
2026-04-13 15:09:24 +08:00
parent 12001f23bf
commit 847660e4fc
7 changed files with 46 additions and 10 deletions
@@ -1266,6 +1266,7 @@ const imageStorageOptions = computed(() => {
{ value: 'cos', label: t('settings.storage.engineCos'), disabled: statusMap.cos === false },
{ value: 'tos', label: t('settings.storage.engineTos'), disabled: statusMap.tos === false },
{ value: 's3', label: 'Amazon S3', disabled: statusMap.s3 === false },
{ value: 'oss', label: t('settings.storage.engineOss'), disabled: statusMap.oss === false },
];
});
@@ -114,6 +114,13 @@ const engineOptions = computed(() => {
available: statusMap.s3,
disabled: statusMap.s3 === false,
},
{
value: 'oss',
label: t('kbSettings.storage.engineOss'),
desc: t('kbSettings.storage.engineOssDesc'),
available: statusMap.oss,
disabled: statusMap.oss === false,
},
]
})
+1
View File
@@ -201,6 +201,7 @@ const navItems = computed(() => [
{ key: 'cos', label: t('settings.storage.cos') },
{ key: 'tos', label: t('settings.storage.tos') },
{ key: 's3', label: 'AWS S3' },
{ key: 'oss', label: t('settings.storage.oss') },
]
},
{ key: 'mcp', icon: 'tools', label: t('settings.mcpService') },