新增: 云OSS存储集成(七牛云+阿里云)+多桶导航+GBK编码自动转换

This commit is contained in:
lxy
2026-05-05 03:18:47 +08:00
parent eb5b85e007
commit b4f4b4627d
34 changed files with 5225 additions and 48 deletions
+3
View File
@@ -170,6 +170,9 @@ export const FILE_ICONS = {
// 文件夹
FOLDER: '📁',
// OSS 桶
BUCKET: '🪣',
// 默认文件
FILE: '📄',
}
+5
View File
@@ -124,6 +124,11 @@ export function getFileName(path) {
export function getFileIcon(fileInfo) {
if (!fileInfo) return FILE_ICONS.FILE
// OSS 桶
if (fileInfo.is_bucket) {
return FILE_ICONS.BUCKET
}
// 如果是目录
if (fileInfo.is_dir) {
return FILE_ICONS.FOLDER