From a376fce78f98a407059b228df09c96f3bbfc0f32 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Tue, 16 May 2023 16:54:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reportProcess/components/reportForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/reportProcess/components/reportForm.vue b/src/views/reportProcess/components/reportForm.vue index 7461967..3ff57a2 100644 --- a/src/views/reportProcess/components/reportForm.vue +++ b/src/views/reportProcess/components/reportForm.vue @@ -467,7 +467,7 @@ export default { beforeUploadFile(file) { let realFileType = file.name.split('.')[file.name.split('.').length - 1]; const isType = ( - file.type === fileType.pdf || file.type === fileType.xls || file.type === fileType.xlsx || file.type === fileType.doc || file.type === fileType.docx || file.type === fileType.ppt || file.type === fileType.pptx + file.type === fileType.pdf || file.type === fileType.ppt || file.type === fileType.pptx || realFileType === 'pdf' || realFileType === 'ppt' || realFileType === 'pptx' ); const isSize = file.size / 1024 / 1024 < 200;