Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
d904c27d95
  1. 4
      web/client/src/sections/firmwareUpgrade/components/addFirmwareModal.jsx

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

@ -57,7 +57,7 @@ const AddFirmwareModal = (props) => {
.field('userId', userId||'')
.field('firmwareName', res?.firmwareName||'')
.field('comment',res?.remark||'')
.field('md5Value',res?.md5||'')
.field('md5Value',res?.md5Value||'')
.field('device_meta_name', options?.find(item=>item.value===res?.deviceName)?.label||'')
.query({ version:res?.versionNo,device_meta_id: res?.deviceName,token:'22767e1f-db8d-4a1d-87d4-56347cf21247'})
.end((err, response) => {
@ -69,7 +69,7 @@ const AddFirmwareModal = (props) => {
setRemoveFlag(false)
onCancel()
}else{
console.error('Superagent request failed:');
console.error('Superagent request failed:',err);
Notification.error({ title: recordRow?'编辑固件包':'新增固件包',
content: recordRow?'编辑失败':'新增失败',
duration: 3,

Loading…
Cancel
Save