From 485565f11229b7f3a51215f5955093fff02e2c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Tue, 19 Nov 2024 10:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/partner/file/file.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/partner/file/file.vue b/src/views/partner/file/file.vue index 71bd6c5..4d879fc 100644 --- a/src/views/partner/file/file.vue +++ b/src/views/partner/file/file.vue @@ -249,10 +249,10 @@ downloadFile(item) { // 创建一个 元素 // const link = document.createElement('a'); - // link.href = "https://www.nuoyunr.com/cdJdc"+item.filePath; // 文件路径 + let href = "https://www.nuoyunr.com/minio"+item.filePath; // 文件路径 // var lastIndexOf = item.filePath.lastIndexOf("."); // link.download = item.fileName+item.filePath.substr(lastIndexOf); // 下载的文件名 - window.open(item.filePath); + window.open(href); // // 触发下载 // link.click(); },