support upload file from clipboard

This commit is contained in:
RockYang
2024-07-17 10:23:02 +08:00
parent 246b023624
commit 37368fe13f
9 changed files with 59 additions and 16 deletions

View File

@@ -37,7 +37,11 @@ export function GetFileIcon(ext) {
".pptx": "ppt.png",
".md": "md.png",
".pdf": "pdf.png",
".sql": "sql.png"
".sql": "sql.png",
".mp3": "mp3.png",
".wav": "mp3.png",
".mp4": "mp4.png",
".avi": "mp4.png",
}
if (files[ext]) {
return '/images/ext/' + files[ext]