注册上传增加filepath字段
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user