Replies: 5 comments
-
beforeUpload 返回 false 后,手动上传文件。 请查看 https://ant-design.antgroup.com/components/upload-cn#components-upload-demo-upload-manually |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
You can try this |
Beta Was this translation helpful? Give feedback.
-
Please take note to pass the event to the onClick Working sandbox |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use an upload component but have the trigger: a button, not be the Upload component itself. I only want it as a preview of the image I'm uploading. How would I trigger the Upload component by click the external button?
Example:
Beta Was this translation helpful? Give feedback.
All reactions