From a5285e51cab297b4c5b982f5096106d5b4bc2efe Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Thu, 6 Feb 2025 00:38:58 +0800 Subject: [PATCH] fix: downloadUrl of file preview --- 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(() => {