소스 검색

修改开始上传分片的接口参数

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

+ 1 - 1
src/utils/model/ImportProgress/index.vue

@@ -96,7 +96,7 @@ export default {
         
           getFileMD5(this.form.file, async (md5) => {
             this.record('文件MD5:' + md5)
-            const start = await this.$api.startChunks({md5: md5, fileName: this.form.file.name})
+            const start = await this.$api.startChunks({md5: md5, fileName: this.form.file.name,sourceId:this.$constants.sourceId})
             if(!start.data){
                 return
             }