hanbaoshan
2020-08-14 fba6d237c8542f8df9d214141f074c93584ab9e5
数据栈上传
2个文件已修改
16 ■■■■■ 已修改文件
src/components/subComponents/FileUpload/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/subComponents/FileUpload/index.vue
@@ -157,6 +157,15 @@
      //     }
      //   })
      // }
      //将自定义参数直接加载uploader实例的opts上
      if (location.href.indexOf("dataStack") >= 0) {
        Object.assign(this.uploader.opts, {
          query: {
            stackId: this.DataStackPool.selectedDir.id
            // ...this.params,
          }
        })
      }
      file.uniqueIdentifier = md5;
      file.resume();
      this.statusText.paused = "暂停中";
vue.config.js
@@ -47,6 +47,13 @@
        target: 'http://192.168.20.10:7003',
        // ws: true,
        changeOrigin: true,
      },
      "/api-f": {
        //target: "http://bsic.asuscomm.com:7003", // 外网映射地址
        // target: "http://222.128.87.51:8000", // 目标代理接口地址
        target: 'http://192.168.20.10:8011',
        // secure: false,
        changeOrigin: true
      },
      "/api": {
        //target: "http://bsic.asuscomm.com:7003", // 外网映射地址