Upload progress bar and upload request of upload component in element are not Synchronize

the upload component of element has an upload progress bar, but I find that the progress is inconsistent with the progress of my upload request, that is, 100% of the time, it will not show the success of the upload (green tick). How can I achieve the progress bar and the Synchronize of the upload request


100% just means that you have finished the transmission. What is the server going to do after receiving it? it may be saved as a local file, data may be added to the database, or logs may be written. Before these steps are completed, the request will not be called completed, so 100% and ticking are not complete Synchronize.


elemment that Progress component is just a UI component. So, can you post the uploaded js code and see what the problem is


upload successfully needs to be dealt with in on-success

Menu