scenario, the front end uploads the file to node api,api through xhr and calls the upload method put of Aliyun oss sdk (or multipart), Aliyun is responsible for uploading the file to oss.. Well, the problem is that when the front end monitors the progress of xhr.upload.onprogress, there is a confusion:
the progress monitored by onprogress is only the progress of uploading files to the node server, not the real progress of uploading Aliyun oss to oss, and the progress is inconsistent. When uploading large files, it is obvious that the progress progress is 100%, but the oss upload is not halfway.
how to unify the progress? Solve?