From 07a9468ec9e069828b1e6527cffbb63b05296e24 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 24 Jun 2025 09:36:25 +0800 Subject: [PATCH] fix:上传删除doc格式 --- src/components/ArcoUpload/index.jsx | 2 +- src/components/MyImport/index.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/ArcoUpload/index.jsx b/src/components/ArcoUpload/index.jsx index c9f460d..ffdae09 100644 --- a/src/components/ArcoUpload/index.jsx +++ b/src/components/ArcoUpload/index.jsx @@ -70,7 +70,7 @@ drag multiple style={{ ...props.style }} - accept='.png,.jpg,.pdf,.doc,.docx' + accept='.png,.jpg,.pdf,.docx' onDrop={(e) => { }} tip='支持png、jpg、pdf格式的图片上传,每次上传大小不超过10M' diff --git a/src/components/MyImport/index.jsx b/src/components/MyImport/index.jsx index 255eb90..df56327 100644 --- a/src/components/MyImport/index.jsx +++ b/src/components/MyImport/index.jsx @@ -2,8 +2,8 @@ * @Company: hugeInfo * @Author: ldh * @Date: 2022-03-05 17:14:00 - * @LastEditTime: 2022-11-29 15:25:05 - * @LastEditors: ldh + * @LastEditTime: 2025-06-24 09:35:43 + * @LastEditors: lwh * @Version: 1.0.0 * @Description: 公共上传组件 * 附件类型对照 @@ -41,7 +41,7 @@ const props = { name: 'file', multiple: false, - accept: '.doc,.docx,.xls,.xlsx,.png,.jpg,.jpeg,.pdf', + accept: '.docx,.xls,.xlsx,.png,.jpg,.jpeg,.pdf', action: `${appUrl.baseUrl}/${appUrl.mediate}/api/v1/caseInfo/inCaseByExcel`, headers: { Authorization: $$.getSessionStorage('customerSystemToken'), -- Gitblit v1.8.0