From 0269771f5bb0d05c1372b564625589b903b50ed9 Mon Sep 17 00:00:00 2001 From: wulinghui <873406903@qq.com> Date: Fri, 26 Dec 2025 16:39:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90add=E3=80=91=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/share/components/share-file-list-view.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/views/share/components/share-file-list-view.vue b/src/views/share/components/share-file-list-view.vue index 142dce3..1e972f9 100644 --- a/src/views/share/components/share-file-list-view.vue +++ b/src/views/share/components/share-file-list-view.vue @@ -79,6 +79,14 @@ > + + + -- Gitee From 2bd76cc65a1dd61841af594d5660d4ce69e56cbd Mon Sep 17 00:00:00 2001 From: wulinghui <873406903@qq.com> Date: Fri, 26 Dec 2025 16:43:17 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=90fix=E3=80=91=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E4=BF=AE=E6=AD=A3=E3=80=82=20?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E9=9C=80=E8=A6=81=E6=94=BE=E5=BC=80=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/share/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/share/index.vue b/src/views/share/index.vue index 5177495..f00fea2 100644 --- a/src/views/share/index.vue +++ b/src/views/share/index.vue @@ -396,7 +396,7 @@ const handleDownload = async (file: FileItem) => { try { const apiBaseUrl = import.meta.env.VITE_API_BASE_URL || ''; - const downloadUrl = `${apiBaseUrl}/files/download/${file.id}`; + const downloadUrl = `${apiBaseUrl}/apis/file/download/${file.id}`; // 创建一个隐藏的 a 标签来触发下载 const link = document.createElement('a'); -- Gitee