From adf09b6ead13a888cd7264d4809a7505f173acbd Mon Sep 17 00:00:00 2001 From: dlaren Date: Tue, 19 Aug 2025 17:12:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E5=8F=82=E6=95=B0=E4=BD=BF=E7=94=A8=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/monitor/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/monitor/monitor/index.vue b/src/views/monitor/monitor/index.vue index 2d8d40f..45e6b74 100644 --- a/src/views/monitor/monitor/index.vue +++ b/src/views/monitor/monitor/index.vue @@ -380,9 +380,10 @@ const handleDelete = async (id: number) => { const downloadFile = async (temporaryId: string) => { const res = await MonitorApi.getMonitorStuFileUrl(temporaryId) + console.log(res) const url = res try { - const response = await fetch(temporaryId) + const response = await fetch(url) if (!response.ok) { throw new Error('下载失败') }