From 54b55d842416503203eaaa3dc6c62961c956b519 Mon Sep 17 00:00:00 2001 From: unknown <18119604035@163.com> Date: Tue, 1 Aug 2023 11:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E4=BB=B6=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compenents/upload-courseware-button/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compenents/upload-courseware-button/index.tsx b/src/compenents/upload-courseware-button/index.tsx index 741b1ae..81b2ab4 100644 --- a/src/compenents/upload-courseware-button/index.tsx +++ b/src/compenents/upload-courseware-button/index.tsx @@ -61,6 +61,7 @@ export const UploadCoursewareButton = (props: PropsInterface) => { let extension: any = file.name.split("."); extension = extension[extension.length - 1]; if ( + extension === "rar" || file.type === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" || file.type === "application/msword" ||