注册上传增加filepath字段

This commit is contained in:
linxd
2025-07-24 14:42:45 +08:00
parent 0df80041a1
commit 6c0c837ebe
2 changed files with 7 additions and 1 deletions

View File

@ -864,6 +864,9 @@ export const AttachmentSection: React.FC<CommonFormSectionsProps> = ({ form }) =
<Form.Item name={[field.name, 'fileSize']} hidden>
<Input />
</Form.Item>
<Form.Item name={[field.name, 'filePath']} hidden>
<Input />
</Form.Item>
<Form.Item
@ -880,6 +883,7 @@ export const AttachmentSection: React.FC<CommonFormSectionsProps> = ({ form }) =
fileType: file.type,
fileSize: file.size.toString(),
fileUrl: file.url,
filePath: file.filePath,
}
}
});
@ -965,6 +969,7 @@ export const AttachmentSection: React.FC<CommonFormSectionsProps> = ({ form }) =
fileType: file.type,
fileSize: file.size.toString(),
fileUrl: file.url,
filePath: file.filePath,
}
}
});