From e6782de086340cb0bb04fbe3a9edbfd3dfb783b2 Mon Sep 17 00:00:00 2001 From: 张诺 <2864490065@qq.com> Date: 星期四, 24 七月 2025 10:43:21 +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