From b5bdf3b54846522c0af2d913c76e7aca52cec284 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A4=95=E9=98=B3=E5=BE=AE=E7=AC=911?=
 <12457268+sunset-smile-1@user.noreply.gitee.com>
Date: Tue, 24 Dec 2024 15:08:44 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=8F=AF=E4=BB=A5=E4=B8=8A?=
 =?UTF-8?q?=E4=BC=A0gif?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/photos/index.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/views/photos/index.vue b/src/views/photos/index.vue
index 9796b61..0fe4d90 100644
--- a/src/views/photos/index.vue
+++ b/src/views/photos/index.vue
@@ -420,7 +420,7 @@ const disabled = ref(false)
 
 const handleChange: UploadProps['onChange'] = async (file: uploadFile, uploadFiles) => {
 	state.formData.loading = true;
-	if (file.raw.type === 'image/png' || file.raw.type === 'image/jpeg' || file.raw.type === 'image/jpg') {
+	if (file.raw.type === 'image/png' || file.raw.type === 'image/jpeg' || file.raw.type === 'image/jpg' || file.raw.type === 'image/gif') {
 		state.formData.fileList = uploadFiles;
 		uploadDisabled.value = true;
 		try {