From d14004fc4ecfaed110feef153ae09c7d8d699d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Tue, 31 Oct 2023 17:34:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8A=E4=BC=A0=E5=9B=BA=E4=BB=B6?= =?UTF-8?q?=E5=8C=85=E6=95=85=E9=9A=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/firmwareUpgrade/components/addFirmwareModal.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx b/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx index 1ef0c74..9f9ec35 100644 --- a/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx +++ b/web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx @@ -120,6 +120,7 @@ const AddFirmwareModal = (props) => { setUploadData({}) setRemoveFlag(true) }} + accept={'.bin'} onSuccess={(responseBody, file,all) => { // console.log('file111',file) setFileObj(file)