diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts index 8223e4c..073c90f 100644 --- a/src/api/system/tool.ts +++ b/src/api/system/tool.ts @@ -136,7 +136,7 @@ export function getPdfStream(fileName: string) { return request({ url: `/minio/file/download/stream?fileName=${fileName}`, - method: 'post', + method: 'get', responseType: 'blob', }) } diff --git a/src/api/system/tool.ts b/src/api/system/tool.ts index 8223e4c..073c90f 100644 --- a/src/api/system/tool.ts +++ b/src/api/system/tool.ts @@ -136,7 +136,7 @@ export function getPdfStream(fileName: string) { return request({ url: `/minio/file/download/stream?fileName=${fileName}`, - method: 'post', + method: 'get', responseType: 'blob', }) } diff --git a/src/components/Sample/certificationMonitor.vue b/src/components/Sample/certificationMonitor.vue index e91f580..151ac41 100644 --- a/src/components/Sample/certificationMonitor.vue +++ b/src/components/Sample/certificationMonitor.vue @@ -2,6 +2,8 @@