@cpzxrobot/sdk 1.2.73 → 1.2.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,7 +120,7 @@ class ProjectGateway extends Object {
120
120
  // 下载项目文档
121
121
  download: (args) => {
122
122
  return this.context.ready.then((axios) => {
123
- return axios.get(`/api/v2/coremde-sale/project/document/download`, {
123
+ return axios.getAndPreview(`/api/v2/coremde-sale/project/document/download`, {
124
124
  params: args
125
125
  });
126
126
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cpzxrobot/sdk",
3
- "version": "1.2.73",
3
+ "version": "1.2.75",
4
4
  "description": "提供给上海正芯数智APP第三方H5应用使用的SDK",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -160,7 +160,7 @@ export class ProjectGateway extends Object {
160
160
  // 下载项目文档
161
161
  download: (args: { documentId: number }) => {
162
162
  return this.context.ready.then((axios) => {
163
- return axios.get(`/api/v2/coremde-sale/project/document/download`, {
163
+ return axios.getAndPreview(`/api/v2/coremde-sale/project/document/download`, {
164
164
  params: args
165
165
  });
166
166
  });