fix(fe/upload_mgr): restarted tasks are in Created state

This commit is contained in:
hexxa 2022-03-05 17:19:30 +08:00 committed by Hexxa
parent 3c2cc79b05
commit d4b41cc401

View file

@ -149,7 +149,7 @@ export class UploadMgr {
this.infos = this.infos.set(filePath, { this.infos = this.infos.set(filePath, {
...entry, ...entry,
file: file, file: file,
state: UploadState.Ready, state: UploadState.Created,
}); });
} else { } else {
status = errUploadMgr; status = errUploadMgr;