How does the El upload component terminate the request being uploaded? abort
How to cancel the upload request?
The upload component of element has the abort method. You can declare a ref attribute to El upload, such as
<el-upload ref="uploader" :auto-upload="false">
Then when you want to cancel the request, use this$ refs.uploader.abort ()。
Can this method automatically clear the file? Do you want to do it yourself