|
|
@ -106,7 +106,7 @@ const AddFirmwareModal = (props) => { |
|
|
|
'firmwareName':recordRow?.firmwareName, |
|
|
|
'deviceName':recordRow?.device_meta_id, |
|
|
|
'versionNo':recordRow?.versionNo, |
|
|
|
'files':recordRow?[{ url: `${domain}/${recordRow?.filepath}`, name: recordRow?.firmwareName }]:[], |
|
|
|
'files':recordRow?[{ url: `${domain}/${recordRow?.filepath}`, name: recordRow?.filepath.split('/')[recordRow?.filepath.split('/')?.length-1] }]:[], |
|
|
|
'remark':recordRow?.remark |
|
|
|
}} getFormApi={formApi => api.current = formApi} labelCol={{ span: 7,offset:1}} wrapperCol={{span: 15,offset:1}} labelPosition='left' > |
|
|
|
<Form.Input field='firmwareName' label='固件版本名称:' style={{with:'80%'}} rules={[{ required: true, message: '固件版本名称必填' }]}></Form.Input> |
|
|
|