From 1c4e88c1cb0639663f77a33dbab26c3cac71ad93 Mon Sep 17 00:00:00 2001
From: zhang_12370 <z2864490065@outlook.com>
Date: 星期四, 26 六月 2025 13:28:05 +0800
Subject: [PATCH] 开发通用 删除 优化文档管理模块

---
 src/components/FileUpload/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 6801d90..735fc22 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -231,10 +231,11 @@
   }
   // 妗岄潰绔笅杞�
   const link = document.createElement("a");
-  link.href = url;
+  link.href = file.downloadUrl;
   link.download = file.bucketFilename || file.key;
   link.click();
 };
+
 // 涓婁紶鍓嶆牎楠�
 const handleBeforeUpload = (file) => {
   // 鏍¢獙鏂囦欢鍚嶇壒娈婂瓧绗�

--
Gitblit v1.9.3