From 515e7158f08a01a4ef6c31f4a974f62a5a3fe49d Mon Sep 17 00:00:00 2001 From: jacky Date: Sat, 11 May 2024 22:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AA=92=E4=BD=93=E5=BA=93=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/image.js b/src/utils/image.js index 2f8074b..a878da0 100644 --- a/src/utils/image.js +++ b/src/utils/image.js @@ -134,7 +134,7 @@ export const isVideoMime = (type) => { export const isDocumentMime = (type) => { return type === 'text/plain' || type === 'application/pdf' - || type === 'application/vnd.msword' + || type === 'application/msword' || type === 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' || type === 'application/vnd.ms-excel' || type === 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'