zhaolei 2 周之前
父节点
当前提交
d92540f08a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tabby-core/src/api/platform.ts

+ 1 - 1
tabby-core/src/api/platform.ts

@@ -42,7 +42,7 @@ export abstract class FileTransfer {
     }
 
     isComplete (): boolean {
-        return this.completed
+        return this.completed || this.completedBytes >= this.getSize()
     }
 
     isCancelled (): boolean {