mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [upload] one-way cannot add attachments (#8877)
This commit is contained in:
parent
379d373497
commit
3d311c003c
@ -100,7 +100,7 @@ export const useHandlers = (
|
||||
props.onError(err as Error, uploadFile, uploadFiles.value)
|
||||
}
|
||||
}
|
||||
uploadFiles.value.push(uploadFile)
|
||||
uploadFiles.value = [...uploadFiles.value, uploadFile]
|
||||
props.onChange(uploadFile, uploadFiles.value)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user