zhuliu 1 년 전
부모
커밋
270ef293ab
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/utils/model/ImportProgress/index.vue

+ 3 - 2
src/utils/model/ImportProgress/index.vue

@@ -92,7 +92,7 @@ export default {
         // console.log(fileChunks)
         // return
         // fileChunks = [1,2,3,4,5]
-        this.len = fileChunks.length + 4
+        this.len = fileChunks.length + 3
         
           getFileMD5(this.form.file, async (md5) => {
             this.record('文件MD5:' + md5)
@@ -101,7 +101,8 @@ export default {
                 return
             }
             await this.uploadChunks(fileChunks, md5, 0)
-            this.record('等待服务器合并分片')
+            // this.record('等待服务器合并分片')
+            this.recordMessage = '等待服务器合并分片'
             const response = await this.$api.mergeChunks({ md5: md5, fileName: this.form.file.name })
             if(response.code != 200){
                 return