注册上传增加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

@ -148,7 +148,8 @@ const FileUpload: React.FC<FileUploadProps> = ({
if (file.status === 'done' && file.response && !file.url) {
return {
...file,
url: getFileUrl(file)
url: getFileUrl(file),
filePath: file?.response?.filePath || "filePath not found",
};
}
return file;