fix: attachment deletion and re upload do not display (#3405)

This commit is contained in:
katherinehhh 2024-01-18 19:10:44 +08:00 committed by GitHub
parent acabb9cbf0
commit 1fa4d48869
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,6 +167,7 @@ Upload.Attachment = connect((props: UploadProps) => {
if (info.file.status === 'done') {
onChange?.(toValue(list));
}
onChange?.(toValue(list));
setFileList(list.map(toItem));
setSync(true);
} else {