Przeglądaj źródła

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

zhuliu 1 rok temu
rodzic
commit
4ad9ebae7d
1 zmienionych plików z 1 dodań i 1 usunięć
  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
             }