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('下载失败') }