From 8a14018861fe581672bbd27cdc3ae5691f70a108 Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Sat, 21 Jun 2025 15:21:17 +0800 Subject: [PATCH] fix: downloadUrl of file preview (#3728) --- frontend/src/views/files/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index 4fd3d2c8..934fd238 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -253,7 +253,7 @@ const hasPrevious = computed(() => previousLink.value !== ""); const hasNext = computed(() => nextLink.value !== ""); const downloadUrl = computed(() => - fileStore.req ? api.getDownloadURL(fileStore.req, true) : "" + fileStore.req ? api.getDownloadURL(fileStore.req, false) : "" ); const raw = computed(() => {