src/api/fysp/dataproductApi.js
@@ -8,7 +8,7 @@
  downloadProduct(area, type, forceUpdate) {
    return $fysp
      .post(`dataProduct/download?`, area, {
        responseType: 'arraybuffer',
        responseType: 'blob',
        params: { type, forceUpdate }
      })
      .then((res) => {
@@ -18,7 +18,7 @@
        }
        // 文档已存在,返回文件数据流
        else {
          return res.data
          return res
          // const name = Base64.decode(res.headers.get('filename'));
          // const url = window.URL.createObjectURL(res.data);
          // const link = document.createElement('a');