From 0020fe8e0034dd394b165b468a88b3bbe2b4eed5 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 24 五月 2024 16:57:36 +0800 Subject: [PATCH] 下载附件改为get --- vue.config.js | 4 ++-- src/api/quality/attachment.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/quality/attachment.js b/src/api/quality/attachment.js index 04e27b2..5dbb955 100644 --- a/src/api/quality/attachment.js +++ b/src/api/quality/attachment.js @@ -18,7 +18,7 @@ export function downloadProcessConfigFile(data) { return request({ url: '/mes/attachment/processConfig/'+data.bucket+'/'+data.fileName, - method: 'post', + method: 'get', responseType: 'blob' }).then((response) => { // 澶勭悊杩斿洖鐨勬枃浠舵祦 diff --git a/vue.config.js b/vue.config.js index 6296cca..e4cad29 100644 --- a/vue.config.js +++ b/vue.config.js @@ -6,8 +6,8 @@ -const url = 'https://ztms-mes.chinaztt.cn/' -// const url = 'http://localhost:9999' +// const url = 'https://ztms-mes.ztt.cn/' +const url = 'http://localhost:9999' //const url = 'http://192.168.32.45:9999' -- Gitblit v1.9.3