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