king
2020-06-29 0c9972b68aaee5ce0d536bb418ebcd2887012a28
src/tabviews/zshare/fileupload/index.jsx
@@ -157,7 +157,10 @@
      spark.append(e.target.result)
      params.file.fileMd5 = spark.end() // 计算整个文件的fileMd5
      Api.getFilePreUpload({fileMd5: params.file.fileMd5}).then(res => {
      let _param = new FormData()
      _param.append('fileMd5', params.file.fileMd5)
      Api.getFilePreUpload(_param).then(res => {
        if (res.status && res.urlPath) {
          this.onUpdate(res.urlPath)
          this.setState({