From 1812cb3d6bfea392d027f6e33547b658bb65fc9b Mon Sep 17 00:00:00 2001 From: Zhou Mingfa Date: Thu, 22 Feb 2024 17:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=9A=E8=A7=A3=E5=86=B3=E4=B8=8D=E8=83=BD=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E4=B8=8B=E8=BD=BD=E6=96=87=E4=BB=B6=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E3=80=81=E6=94=AF=E6=8C=81=E5=A4=9A=E9=80=89=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8A=E4=BC=A0=E3=80=81=E6=96=B0=E5=A2=9E=E8=B6=85?= =?UTF-8?q?=E5=87=BA=E6=96=87=E4=BB=B6=E6=9C=80=E5=A4=A7=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E4=B8=8E=E8=B6=85=E5=87=BA=E5=8D=95=E6=96=87=E4=BB=B6=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E7=9B=B8=E5=BA=94=E7=9A=84=E9=94=99=E8=AF=AF=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/support/file-api.js | 2 +- .../components/support/file-upload/index.vue | 40 ++++++++++++++++--- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/smart-admin-web/javascript-ant-design-vue3/src/api/support/file-api.js b/smart-admin-web/javascript-ant-design-vue3/src/api/support/file-api.js index 5b4aba4e..cb56652f 100644 --- a/smart-admin-web/javascript-ant-design-vue3/src/api/support/file-api.js +++ b/smart-admin-web/javascript-ant-design-vue3/src/api/support/file-api.js @@ -32,7 +32,7 @@ export const fileApi = { /** * 下载文件流(根据fileKey) @author 胡克 */ - downLoadFile: (fileName, fileKey) => { + downLoadFile: (fileKey) => { return getDownload('/support/file/downLoad', { fileKey }); }, }; diff --git a/smart-admin-web/javascript-ant-design-vue3/src/components/support/file-upload/index.vue b/smart-admin-web/javascript-ant-design-vue3/src/components/support/file-upload/index.vue index 8824bfc5..d7d8e9c9 100644 --- a/smart-admin-web/javascript-ant-design-vue3/src/components/support/file-upload/index.vue +++ b/smart-admin-web/javascript-ant-design-vue3/src/components/support/file-upload/index.vue @@ -11,6 +11,7 @@