From c4f919b68da933fdfca2279853f7cad8343c9b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Mon, 26 May 2025 17:20:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8D=E8=83=BD=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userInfo/components/reacList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/userInfo/components/reacList.vue b/src/views/userInfo/components/reacList.vue index 2bb0fee..970d140 100644 --- a/src/views/userInfo/components/reacList.vue +++ b/src/views/userInfo/components/reacList.vue @@ -209,15 +209,15 @@ const headerChange = (pageNumber: any) => { } // 下载文件 const download = async (url:any,name:any) => { - // window.open(import.meta.env.VITE_APP_BASE_API + '/sys/common/zuopin/' + url) + window.open(import.meta.env.VITE_APP_BASE_API + '/sys/common/zuopin/' + url) const a = document.createElement('a') a.style.display = 'none' document.body.appendChild(a) a.href = import.meta.env.VITE_APP_BASE_API + '/sys/common' + url a.setAttribute('download', name); a.click() - document.body.removeChild(a) - + document.body.removeChild(a) + } const saveEvent = async (id: any) => {