zhangzengfei
2020-09-28 c7095a2bce8dbba2ae1e67e27806b33442d2c27a
src/components/subComponents/FileUpload/index.vue
@@ -149,7 +149,16 @@
    },
    computeMD5Success(md5, file) {
      // 将自定义参数直接加载uploader实例的opts上
      if (this.$route.path.indexOf("VideoManage") >= 0) {
      // if (this.$route.path.indexOf("VideoManage") >= 0) {
      //   Object.assign(this.uploader.opts, {
      //     query: {
      //       stackId: this.DataStackPool.selectedDir.id
      //       // ...this.params,
      //     }
      //   })
      // }
      //将自定义参数直接加载uploader实例的opts上
      if (location.href.indexOf("dataStack") >= 0) {
        Object.assign(this.uploader.opts, {
          query: {
            stackId: this.DataStackPool.selectedDir.id