Browse Source

feat:上传固件包问题

dev
zhaobing’ 1 year ago
parent
commit
590d6e4386
  1. 2
      web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx

2
web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx

@ -120,7 +120,7 @@ const AddFirmwareModal = (props) => {
setUploadData({}) setUploadData({})
setRemoveFlag(true) setRemoveFlag(true)
}} }}
onSuccess={ async(responseBody, file,all) => { onSuccess={(responseBody, file,all) => {
// console.log('file111',file) // console.log('file111',file)
setFileObj(file) setFileObj(file)
setFileUrl(responseBody?.uploaded) setFileUrl(responseBody?.uploaded)

Loading…
Cancel
Save