From 018d13ea7806c4117441982f76d6fda72f951680 Mon Sep 17 00:00:00 2001 From: keven1024 Date: Sat, 11 Apr 2026 10:47:52 +0800 Subject: [PATCH] refactor(front): improve image handling in FileIcon component by adding HEIC support and optimizing file type checks --- front/components/FileIcon/Image.vue | 19 ++++++---- front/components/FileIcon/Index.vue | 8 ++--- front/components/FileIcon/Video.vue | 56 +++-------------------------- front/lib/getVideoFileThumbnail.ts | 44 +++++++++++++++++++++++ 4 files changed, 64 insertions(+), 63 deletions(-) create mode 100644 front/lib/getVideoFileThumbnail.ts diff --git a/front/components/FileIcon/Image.vue b/front/components/FileIcon/Image.vue index 5d390d2..9ea6e0f 100644 --- a/front/components/FileIcon/Image.vue +++ b/front/components/FileIcon/Image.vue @@ -1,16 +1,21 @@