hanbaoshan
2020-08-06 d656ff9cf8c97a01c0cc990d935e4b42b314be22
src/components/subComponents/FileUpload/index.vue
@@ -149,14 +149,14 @@
    },
    computeMD5Success(md5, file) {
      // 将自定义参数直接加载uploader实例的opts上
      if (this.$route.path.indexOf("VideoManage") >= 0) {
        Object.assign(this.uploader.opts, {
          query: {
            stackId: this.DataStackPool.selectedDir.id
            // ...this.params,
          }
        })
      }
      // if (this.$route.path.indexOf("VideoManage") >= 0) {
      //   Object.assign(this.uploader.opts, {
      //     query: {
      //       stackId: this.DataStackPool.selectedDir.id
      //       // ...this.params,
      //     }
      //   })
      // }
      file.uniqueIdentifier = md5;
      file.resume();
      this.statusText.paused = "暂停中";