fix: attachment deletion and re upload do not display (#3405)
This commit is contained in:
parent
acabb9cbf0
commit
1fa4d48869
@ -167,6 +167,7 @@ Upload.Attachment = connect((props: UploadProps) => {
|
|||||||
if (info.file.status === 'done') {
|
if (info.file.status === 'done') {
|
||||||
onChange?.(toValue(list));
|
onChange?.(toValue(list));
|
||||||
}
|
}
|
||||||
|
onChange?.(toValue(list));
|
||||||
setFileList(list.map(toItem));
|
setFileList(list.map(toItem));
|
||||||
setSync(true);
|
setSync(true);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user